AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

sending keystrokes to flash games?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Tue Dec 20, 2005 7:02 am    Post subject: sending keystrokes to flash games? Reply with quote

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

PostPosted: Tue Dec 20, 2005 11:34 am    Post subject: Try the keyboard hook Reply with quote

I find that the keyboard hook helps in some games. Try the helpfile under:

#UseHook

or if you're desperate, #InstallKeybdHook

-Lemming Cool
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Tue Dec 20, 2005 9:24 pm    Post subject: Reply with quote

Also, you might also experiment with KeyDelay. For example:
SetKeyDelay 0, 20
Back to top
View user's profile Send private message Send e-mail
Guest






PostPosted: Wed Dec 21, 2005 1:07 am    Post subject: Re: sending keystrokes to flash games? Reply with quote

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






PostPosted: Wed Dec 21, 2005 5:31 am    Post subject: Reply with quote

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 Confused

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 Very Happy
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group