Jump to content
Sign in to follow this  
doduk

Interacting with minimized flash game? Any help?

Recommended Posts

doduk

I am trying to make a script that interacts with a certain browser flash game. I want to be able to run the script while the browser window is minimized. Basically it just needs to click the mouse in a few different spots.

Is this at all possible? I know the ControlClick function won't work with flash. Any tips/examples?

Share this post


Link to post
Share on other sites
Paulie

I am trying to make a script that interacts with a certain browser flash game. I want to be able to run the script while the browser window is minimized. Basically it just needs to click the mouse in a few different spots.

Is this at all possible? I know the ControlClick function won't work with flash. Any tips/examples?

"MouseClick" not working for ya?

EDIT

Oh Sorry, didn't catch the minimized thing

I'm oblivious today

I don't think can click in a minimized window w/o controlclick

Edited by Paulie

Share this post


Link to post
Share on other sites
ivan

Macromedia applications (exes, swf, etc) can be a mare automating, as sometimes buttons do not have report a control to click on. This is particularly true of graphical buttons with applied behaviors in Director.

My solution:

move the window to some invisible place, say, -1000,-1000 and clic on your coordinates...

this probably requires some pixelsearch to ensure a match.

IVAN

Share this post


Link to post
Share on other sites
doduk

That is an interesting solution Ivan. I think I might try that.

Share this post


Link to post
Share on other sites
doduk

Actually, I tried it, but the mouse will not click off the screen. If I put it to say, click on -1000. 500 it will just click on 0, 500

Any other ideas? :D

Share this post


Link to post
Share on other sites
Thatsgreat2345

maybe embed the flash in autoit and then yeah idk what i was going to get at heheh buy another computer

Share this post


Link to post
Share on other sites
lopolop

i dont think it is possible...


Share this post


Link to post
Share on other sites
quick_sliver007

There is an old UDF in the scripts and scraps sections if the forum that is suppose to click in minimized windows. I think it is call _MouseClickPlus().


.

Share this post


Link to post
Share on other sites
Thatsgreat2345

ive seen it b4 but it didnt work :-/ you can just try it i guess

Share this post


Link to post
Share on other sites
ivan

OK, I'm back.

I've been away a few days. I've a couple of flash swfs that do not report the buttons as controls, perhaps because they are graphics with button behaviours attached to them.

I'll try my suggestion posted above in this thread, as I believe I got it to work ages ago. I remember I applied the same concept on a FileMaker application, which posed another nightmare for automation, so I'm quite confident it's possible.

In any case, by now I believe there's very little that can't be done with autoit.

IVAN

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  

×