Sign in to follow this  
Followers 0
JAFN

Help with locking users mouse during mouse routines

9 posts in this topic

I've got an app that uses mouse routines that click certain areas.

The problem is that a few of the clicks require tight precision and slight mouse movements seem to throw of the routine. Is there a way to lock out the mouse during the routine?


[size="2"]The second mouse gets the cheese[/size]

Share this post


Link to post
Share on other sites



BlockInput()

In the time I'm been using autoit3, i've never come across a time/reason I would ever need it, and it can cause problems for a user, not to mention discomfort when someone causes their computer to not respond to their own input.


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites

The problem with Control... is that they use ControlID. As I am trying to click on a Chrome page this becomes problematic.

If I am wrong in thinking this please show me how.

I will play around with BlockInput()

Thanks.


[size="2"]The second mouse gets the cheese[/size]

Share this post


Link to post
Share on other sites

I hear it may work without ControlID.

But if you mean Chrome as in the web browser, then to automate browsing you really should be using the IE (look at "IE Management" in the helpfile) or FF (look link <-- link) UDF.

Share this post


Link to post
Share on other sites

I hear it may work without ControlID.

But if you mean Chrome as in the web browser, then to automate browsing you really should be using the IE (look at "IE Management" in the helpfile) or FF (look link <-- link) UDF.

Wash your mouth out for suggesting IE.

I can't go back to FF. It feels so slow now.

But BlockInput worked just fine and control is only blocked for maybe a 10th of a second, if that.

I always appreciate the swiftness of response and the courteousnesses of the members.

This a very polite forum, and I never feel talked down to.

Thanks for your help and time.


[size="2"]The second mouse gets the cheese[/size]

Share this post


Link to post
Share on other sites

maybe if you actually checked out the UDF and saw what it whas capable off ;-)

The OP just thinks IE is to slow.

Personally I dont see that much difference, and the functionality of the IE UDF certainly offsets any speed issues with other browsers when trying to automate something.

I think this speed thing is something people like to cling onto from the past.

I'd recommend to anyone to try IE9.


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

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