Jump to content
BigOTitti

Locking Mouse coordinates

Recommended Posts

BigOTitti

Hello guys!

I was wondering if it's possible to lock Mouse X/Y coordinates. So for example to lock the current Y coordinate, so the mouse would be able to change only X coordinate (Move only horizontally)?

Share this post


Link to post
Share on other sites
Jos

A lot is possible with scripting, but you are too vage here. What exactly do you want to accomplish?

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
BigOTitti

Let's say I want to draw a straight horizontal line with a mouse, then I would want my script to make the mouse unable to change his Y coordinate for some time.

Share this post


Link to post
Share on other sites
AutoBert

May be he will build a MouseTrap with emergency exit only in X-direction?

  • Like 1

Share this post


Link to post
Share on other sites
BigOTitti
7 minutes ago, AutoBert said:

May be he will build a MouseTrap with emergency exit only in X-direction?

Oh thanks! I looked up the MouseTrap function in Autoit Help and I think it will do the job!

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

×