Jump to content

Recommended Posts

Posted (edited)

Im trying to automate a flash game all in the background and hidden. I tried with controls but it seems like they dont work as they are only for Windows, and i tried with _ie functions like _IEGetObjByName but they only work for the most simple forms and cannot identify flash buttons with it. So im asking if there is anyway at all to work with flash websites hidden in background? Any help will be much appreciated, i really want this to work.

Edited by darkmaster071
Posted

Im trying to automate a flash game all in the background and hidden. I tried with controls but it seems like they dont work as they are only for Windows, and i tried with _ie functions like _IEGetObjByName but they only work for the most simple forms and cannot identify flash buttons with it. So im asking if there is anyway at all to work with flash websites hidden in background? Any help will be much appreciated, i really want this to work.

I'm trying to do something similar with silverlight.

I have not found a viable solution yet.

Posted

I am struggling to get this working. However the controlclick is bugging me why cant you just target the IE instance, get the control mouse coordinates of that window and click all you want, wherever you want and in a hidden background process. Isnt there a solution to clicking on flash object in hidden window? Does it or does it not exist?

Posted

Try pressing TAB multiple times while in the Flash window. It might cycle through clickable elements.

There's a recording tool that comes with AutoIt, it's okay, but getting the timing right might take a little more effort.

Posted

the problem with control click or any of the similar methods, is they require unique handles.

with falsh and silverlight, i think the buttons, the screen/display, etc. all have the same exact handle.

so you cant address say the "pause" button uniquely, choose the pause handle is the same as chooseing the next or play or whatever..

I've used multiple "info/spy" tools and they all report the same information.

Posted

It seems like ive managed to setup Controlclick to target IE window all together and can click flash. However there is one button which controlclick cannot click, idk why and the sending TAB keystroke worked. Thanks.

Posted

AutoIt is not designed to work with flash. You will have to mouseclick to click on the spot you want.

AutoIt wasn't "designed" to work with allot of things, but some very crafty people have found all kinds of ways of making AutoIt interact with things that were not foreseen from a design perspective.

I think this problem (and mine / silverlight) is solvable by someone with more knowledge on the subject.

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
×
×
  • Create New...