| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Tue Dec 20, 2005 7:02 am Post subject: sending keystrokes to flash games? |
|
|
| I'm messing around with online flash games and I want to send keystrokes. Clicking works just fine, but flash doesn't seem to pickup keystrokes from ahk, anybody have any ideas? Thanks! |
|
| Back to top |
|
 |
Lemming
Joined: 20 Dec 2005 Posts: 150 Location: Malaysia
|
Posted: Tue Dec 20, 2005 11:34 am Post subject: Try the keyboard hook |
|
|
I find that the keyboard hook helps in some games. Try the helpfile under:
#UseHook
or if you're desperate, #InstallKeybdHook
-Lemming  |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Tue Dec 20, 2005 9:24 pm Post subject: |
|
|
Also, you might also experiment with KeyDelay. For example:
SetKeyDelay 0, 20 |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Dec 21, 2005 1:07 am Post subject: Re: sending keystrokes to flash games? |
|
|
| Anonymous wrote: | | I'm messing around with online flash games and I want to send keystrokes. Clicking works just fine, but flash doesn't seem to pickup keystrokes from ahk, anybody have any ideas? Thanks! |
I hate cheaters! |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Dec 21, 2005 5:31 am Post subject: |
|
|
setkeydelay works perfectly. I'm running a slow laptop, so fps of the flash game was largly affected. I had to use a delay of 100
Anyways thanks.
P.S: I'm not so much cheating as trying to impress my friends.
http://www.addictinggames.com/kittencannon.html
I'm just using ahk to press spacebar all night long, that's it  |
|
| Back to top |
|
 |
|