Hey, i was wondering..
If i want to make a macro which shows the mouse posistion in the bot.. So when i move the mouse it changes. I have seen an example of this. but i deleted it, and can't find it again. It was a macro which could read text from diffrent windows.
In macro scheduler you can set the option on and off whether you want the pixelcolor, or the mouse position in the upper right corner. I want the same in my macro. So the user can set in the values for the mousemoves he wants.
Here is a picture of it, if anyone doesn't understand what i mean
Showing the mouseposition in a macro
Moderators: Dorian (MJT support), JRL
Cursor monitor in a dialog sample.
Code: Select all
Let>comma=,
Dialog>Dialog1
Caption=Cursor
Width=140
Height=76
Top=CENTER
Left=CENTER
Label=msLabel1,16,24
EndDialog>Dialog1
Show>dialog1
Label>Loop
GetDialogAction>dialog1,res1
If>res1=2,EOF
GetCursorPos>Xpos,Ypos
GetPixelColor>Xpos,Ypos,Color
Let>Dialog1.msLabel1=%Xpos%%comma%%Ypos%%comma%%Color%
ResetDialogAction>dialog1
Wait>0.01
Goto>Loop
Label>EOF