Jump to content

Send key to flash game


Recommended Posts

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

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

  • 8 months later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...