SteveO Posted July 14, 2008 Posted July 14, 2008 Ok, I have a dilemma......I want to simulate a mouse click on a flash game without actually having to have the mouse hijacked. This was I can minimize the window and the clicks will keep on coming. Any tips....or suggested threads I should read to get this gone would be great. Thanks in advance to everyone who will give me a reply.
AlmarM Posted July 14, 2008 Posted July 14, 2008 (edited) ControlClick() ? ControlClick ( "title", "text", controlID [, button [, clicks [, x [, y ]]]] ) title The title of the window to access. text The text of the window to access. controlID The control to interact with. See Controls. button [optional] The button to click, "left", "right", "middle", "main", "menu", "primary", "secondary". Default is the left button. clicks [optional] The number of times to click the mouse. Default is 1. x [optional] The x position to click within the control. Default is center. y [optional] The y position to click within the control. Default is center. -AlmarM- Edited July 14, 2008 by AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
Moderators SmOke_N Posted July 14, 2008 Moderators Posted July 14, 2008 ControlClick with coords (Leave control ID parameter blank if need be)/_MouseClickPlus Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
GaryFrost Posted July 14, 2008 Posted July 14, 2008 4 threads on the same topic, knock it off. Merged 2 threads SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
SteveO Posted July 14, 2008 Author Posted July 14, 2008 (edited) ControlClick() ? ControlClick ( "title", "text", controlID [, button [, clicks [, x [, y ]]]] ) title The title of the window to access. text The text of the window to access. controlID The control to interact with. See Controls. button [optional] The button to click, "left", "right", "middle", "main", "menu", "primary", "secondary". Default is the left button. clicks [optional] The number of times to click the mouse. Default is 1. x [optional] The x position to click within the control. Default is center. y [optional] The y position to click within the control. Default is center. -AlmarM- ControlClick with coords (Leave control ID parameter blank if need be)/_MouseClickPlus Thanks for the reply guys. =) 4 threads on the same topic, knock it off. Merged 2 threads Hey I didn't know, I did a search and I couldn't find anything relevant. The search tool really isn't as useful as it should be...it returned every thread with my seperate keywords in it, so it pretty much found every thread with "mouse" in it. But it doesn't want to group my keywords together. Edited July 14, 2008 by SteveO
GaryFrost Posted July 14, 2008 Posted July 14, 2008 Hey I didn't know, I did a search and I couldn't find anything relevant. The search tool really isn't as useful as it should be...it returned every thread with my seperate keywords in it, so it pretty much found every thread with "mouse" in it. But it doesn't want to group my keywords together.Has nothing to do with you starting 4 topics that are identical. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
AlmarM Posted July 14, 2008 Posted July 14, 2008 Has nothing to do with you starting 4 topics that are identical.I think he ment there are 4 the same replys with the same awnser muttley-AlmarM- Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
Moderators SmOke_N Posted July 14, 2008 Moderators Posted July 14, 2008 I think he ment there are 4 the same replys with the same awnser muttley-AlmarM-No, he meant what he said, Gary deleted the duplicate topics. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
SteveO Posted July 14, 2008 Author Posted July 14, 2008 (edited) Has nothing to do with you starting 4 topics that are identical.Ohhhhhhhh, I thought you meant that someone already asked this question. The site was buggy for me last night, whenever I went to submit it would lag really bad and I would get an Error, I didn't even realize that it actually posted, sorry about that. Edited July 14, 2008 by SteveO
AlmarM Posted July 14, 2008 Posted July 14, 2008 No, he meant what he said, Gary deleted the duplicate topics.Ohhhhhh! Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
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