rzzrnt Posted May 28, 2008 Share Posted May 28, 2008 Hi all, sorry for my english. I'm trying to automize a flash game. In this game is necessary to take 'pressed' right arrow. i've used Send("{RIGHT down}") function. The problem is that when the window lose focus (because i want work on another window) the effect of send key is losen. can u help me? Link to comment Share on other sites More sharing options...
rawrr Posted May 29, 2008 Share Posted May 29, 2008 (edited) What flash game? And look at the helpfile for send commands. Edited May 29, 2008 by rawrr Link to comment Share on other sites More sharing options...
Richard Robertson Posted May 29, 2008 Share Posted May 29, 2008 You missed the point. The OP wants to continue sending the key to the flash game while working on something else. This sounds like a bot though. Use ControlSend instead. If that fails, the game may stop responding because it is no longer active. This would be due to implementation in the flash system, and you can't do anything about it. Link to comment Share on other sites More sharing options...
jamesemerson Posted February 23, 2009 Share Posted February 23, 2009 You missed the point. The OP wants to continue sending the key to the flash game while working on something else. This sounds like a bot though.Use ControlSend instead. If that fails, the game may stop responding because it is no longer active. This would be due to implementation in the flash system, and you can't do anything about it.I've been scouring the Forum researching Flash window interaction because I recently posted with the thread "Invisible commands" to say that I was hoping for a way to send text to a Flash window in the background. Some MVPs suggested using ControlSend, but the Flash Player 9 doesn't give Control info to the AutoIt Window Info program, so the Control portion of ControlSend can't be identified and doesn't seem to work. I've looked and looked for a workaround, but haven't found it. Am I missing something (besides just being a floundering, knuckled-headed newbie)? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now