Sign in to follow this  
Followers 0
SteveO

Mouse Click inside a minimized window?

10 posts in this topic

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.


Share this post


Link to post
Share on other sites



#2 ·  Posted (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 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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

#5 ·  Posted (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 by SteveO

Share this post


Link to post
Share on other sites

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.

 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

#9 ·  Posted (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 by SteveO

Share this post


Link to post
Share on other sites

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.

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