Code: Select all
Send, {Click, %A_CaretX%, %A_CaretY%}
Code: Select all
Send, {Click, %A_CaretX%, %A_CaretY%}
Code: Select all
CaretGetPos(x, y)
Send "{Click " x "," y "}"
Code: Select all
msgbox a_ahkversion
Code: Select all
msgbox % a_ahkversion
Code: Select all
SetKeyDelay, 70 ;Sets the delay(Time in milliseconds) that will occur after each keystroke sent by Send and ControlSend. uncomment if something wrong
LWin:: ; Left windows key
clipboard = ; Empty the clipboard
Send {Click 2}
Send ^c
ClipWait 2 ; Waits 2 sec until the clipboard contains data.
Send !{Tab} ; Switch between the two most recent tasks (is it notepad?)
Sleep, 300
Send % StrReplace(clipboard,"-")
Sleep, 400
Send {Enter} ; new line
Sleep, 600
Send, {PGDN}
Sleep, 1800
Send, {ALTDOWN}{LEFT}{ALTUP}
Sleep, 500
Send !{Tab} ; Switch between the two most recent tasks (is it notepad?)
Sleep, 500
Send, {DOWN}{LEFT}{LEFT}{LEFT}{LEFT}
Send, {Click, %A_CaretX%, %A_CaretY%}
return
We understand exactly what you mean and are talking about the same thing. And the following moves the mouse pointer to the blinking thingamabob on the Microsoft Word window on my machine:
Code: Select all
WinActivate, ahk_exe WINWORD.EXE
Send, {Click, %A_CaretX%, %A_CaretY%}