doduk Posted June 28, 2006 Posted June 28, 2006 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?
Paulie Posted June 28, 2006 Posted June 28, 2006 (edited) 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?EDITOh Sorry, didn't catch the minimized thingI'm oblivious todayI don't think can click in a minimized window w/o controlclick Edited June 28, 2006 by Paulie
ivan Posted June 28, 2006 Posted June 28, 2006 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 Think out of the boxGrabber: Yet another WinInfo tool_CSVLib (still alpha)Dynamic html in au3
doduk Posted June 29, 2006 Author Posted June 29, 2006 That is an interesting solution Ivan. I think I might try that.
doduk Posted June 29, 2006 Author Posted June 29, 2006 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?
Thatsgreat2345 Posted June 29, 2006 Posted June 29, 2006 maybe embed the flash in autoit and then yeah idk what i was going to get at heheh buy another computer
quick_sliver007 Posted June 29, 2006 Posted June 29, 2006 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(). .
Thatsgreat2345 Posted June 30, 2006 Posted June 30, 2006 ive seen it b4 but it didnt work :-/ you can just try it i guess
ivan Posted July 6, 2006 Posted July 6, 2006 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 Think out of the boxGrabber: Yet another WinInfo tool_CSVLib (still alpha)Dynamic html in au3
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