Jump to content

myredeemerlives

Active Members
  • Posts

    121
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

myredeemerlives's Achievements

Adventurer

Adventurer (3/7)

0

Reputation

  1. Its the best code ever right?
  2. I ain't got nuttin betta ta do, so I just made this peice a crap here: It retrieves the digit of a numby poo, in a non-string like manner. func GetDigit($num, $dig) $numpy = $num for $i = 1 to $dig $mumpy = mod($numpy, 10) $numpy = int($numpy / 10) next return $mumpy[/indent] endfunc func DigitCount($num) return int(log($num)) + 1 endfunc I didn't test it so I don't know if it works or not, you check. I wrote this write into here off the top of my slow brain. I am pretty sure it works, because well, I wrote it. Edit: Another thing, it counts from the right. So 1 is the first digit on the right. 2 is the seccond digit from the right. Forgive me of mistakes however, I haven't used AutoIt in awhile. I been to wrapped up in C++.
  3. So I guess nobody knows the answer?
  4. LOL, I don't even want valik to reply to it. I was just making a dum comment, because I saw a cool sig.
  5. You guys seriouslly don't want to hear what I did with AutoIt once and I am not proud of it. MY FRIEND MADE ME DO IT!!!!!!!
  6. Brings back good old days of playing with the system registry. I learned alot of CLSID, COMS, File Extensions, Configuration, etc. Uh.... riiiiiiiiight....... ok. Hold on a sec. "Hello, is this doctor vanvincan? Id like to arrange an appointment for valik. See he has this uhm.... condition. He gets depressed very easily."
  7. O Come on, HTTP is insainly easy. What is so hard about this eh? Client says: GET /Index.htm HTTP/1.1 Um:OK What:Yea Why:I dunno Host:Eh? Server Says: OK, here ya go. HTTP/1.1 200 OK Some other stuff <HTML> O boy, u suck!</HTML> And then the server closes the connection. Anyway, its something like that. I didn't memorize the headers but you can easily look that up. Besides get there is the post methods, and then some other methods that you can just ignore.
  8. The functions didn't work at all, and I mean at all, when I changed the types. AllocConsole returns a long, according to my WinAPI viewer. When I used bool, it wouldn't even open a console window. hmmm. This is weird. Edit: The function refuses to work under any circumstances.
  9. I thought that GetStdHandle returns a long no? What the.....? Well, I will try it.
  10. I think that only works with Visual Basic. I have used it before. It sux, it only changes the window skin but does nothing with the controls. Don't even bother with it.
  11. I already tried using all the possible param types for the last 4 and 0 as the paramaters but it didn't work. The function either fails, or it suceeds and causes and illegal operation. I was doing this type of thing in VB6 just before so I know what Im doing with these functions it is just that I need AutoIt to be able to pass null paramaters.
  12. FreeConsole has no paramaters Im talking about WriteConsole.
  13. $STD_OUTPUT = -Dec("11") $Yo = DLLOpen("C:\Windows\System\Kernel32.dll") DLLCall($Yo,"LONG","AllocConsole") $hOutput = DLLCall($Yo,"LONG","GetStdHandle","LONG",$STD_OUTPUT) DLLCall($Yo, "LONG","WriteConsole","LONG",$hOutput,"STRING","Hello","LONG",StringLen("Hello"),"","","","") MsgBox(0,"HMM","WRITE SOMETHING TO THE CONSOLE WINDOW DARN IT!!!!") DLLCALL($Yo,"LONG","FreeConsole") DLLClose($Yo)
  14. *sigh* I am trying to pass a null paramater to a DLL function with DLL call and I don't know how to do it. ARG!!!!!! If I use LONG, and 0. Then I just get a THIS PROGRAM HAS CAUSED AN ILLEGAL OPERATION. What I am trying to do is write a Win32 Console Script using the pure WinAPI. Some HELP!
×
×
  • Create New...