Sign in to follow this  
Followers 0
Jester831

Controlsend + Flash games

4 posts in this topic

I'm having many many problems with Controlsend and flash games. There are no IDs or anything to go by. I've tried using ControlGetHandle while it was active and even then it still does not work. I also noticed that when I use WinActivate the window becomes active but still doesn't accept send commands until you click again in the flash game. Any idea how to use ControlSend with flash games?

Share this post


Link to post
Share on other sites



I'm having many many problems with Controlsend and flash games. There are no IDs or anything to go by. I've tried using ControlGetHandle while it was active and even then it still does not work. I also noticed that when I use WinActivate the window becomes active but still doesn't accept send commands until you click again in the flash game. Any idea how to use ControlSend with flash games?

Flash games don't have controls. at least not the kind that autoit can interact with.

Unfortunately, the only supported way i know of to interact with flash is by activated windows and Send/Mouseclick

Share this post


Link to post
Share on other sites

Could you not use the PixelGetColor and PixelSearch to control the flash somehow, find what you want, then move the mouse there and click.

Share this post


Link to post
Share on other sites

Flash games don't have controls. at least not the kind that autoit can interact with.

Unfortunately, the only supported way i know of to interact with flash is by activated windows and Send/Mouseclick

At my day job we use iMacros for automating (testing) Flash applets. It searches for the image and send the mouse click directly to the place where the image was found. This works well and we can run several tests at the same time (no global mouse messages).

http://www.iopus.com/imacros/irp/

http://wiki.imacros.net/DirectScreen_Technology

If your boss pays for it, this will be a very good solution :)

Share this post


Link to post
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
Sign in to follow this  
Followers 0