Sign in to follow this  
Followers 0
LO-Doc

Move Cursor to Mouse Position (x,y)

7 posts in this topic

In MacroExpress we do have a good function to move the mouse pointer to the cursor position. How would you do that in AutoIt. Mousegetpos() only finds the mousepointer, but unfortunately not the cursorpositon (x,y).

Best regards

Bernhard

Share this post


Link to post
Share on other sites



Welcome to the forums

MouseMove()

see help

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Welcome...

Does WinGetCaretPos help?

...along with MouseMove...


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

Welcome...

Does WinGetCaretPos help?

...along with MouseMove...

I didn't expect someone would call a cursor "caret ^".

But anyway it helps, thanks.

Best regards

LO-Doc

Share this post


Link to post
Share on other sites

I think the Caret is the 'hotspot' of a cursor, if you ever made your own cursor before you would know what i mean. The text-area cursor's hotspot is in the center (the I cursor), where the regular cursor it the top left

Share this post


Link to post
Share on other sites

I didn't expect someone would call a cursor "caret ^".

But anyway it helps, thanks.

Best regards

LO-Doc

Glad to see that it helped...

Terms can be fun. According to http://en.wikipedia.org/wiki/Caret

The term caret is also sometimes used in graphical user interface terminology where it means a text insertion point indicator, frequently represented by a blinking vertical bar. In this context, it may be used interchangeably with the word cursor, although the latter term is often reserved for a mouse pointer.


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

I think the Caret is the 'hotspot' of a cursor, if you ever made your own cursor before you would know what i mean. The text-area cursor's hotspot is in the center (the I cursor), where the regular cursor it the top left

THANKS that was very informative :whistle:


[quote]I am so clever that sometimes I don't understand a single word of what I am saying.[/quote]

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