In this Script it shows me the X Y coordinates of the mouse in a window, but I would like to know how I can copy those coordinates into text.
for example, when pressing alt + c, it shows me the coordinates (this already works) and when pressing Ctrl + V, paste the coordinates into the notepad.
Code: Select all
CoordMode, Mouse
!c::
MouseGetPos, xpos, ypos
Msgbox, , MOUSEPOSITION, The cursor esta en X%xpos% Y%ypos%, 10
Clipboard := X%xpos% Y%ypos%
return