How do I specify a cursor position in an AutoHotKey snippet? For example:
::hkr::
Send,
(
Hello,
__cursorhere()
Kind regards,
Constantine
)
return
How do I specify a cursor position in an AutoHotKey snippet?
- Delta Pythagorean
- Posts: 627
- Joined: 13 Feb 2017, 13:44
- Location: Somewhere in the US
- Contact:
Re: How do I specify a cursor position in an AutoHotKey snippet?
I can only assume you mean by MouseMove
[AHK]......: v2.0.12 | 64-bit
[OS].......: Windows 11 | 23H2 (OS Build: 22621.3296)
[GITHUB]...: github.com/DelPyth
[PAYPAL]...: paypal.me/DelPyth
[DISCORD]..: tophatcat
Re: How do I specify a cursor position in an AutoHotKey snippet?
You can specify the caret position by sending arrow keys. Cheers.
Here's some alternative code.
Code: Select all
::hkr::
Send,
(
Hello,
Kind regards,
Constantine{Up 3}
)
Code: Select all
::hkr::
Send,
(
Hello,{Enter 3}
Kind regards,
Constantine{Up 3}
)
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA