Technical support and scripting issues
Moderators: JRL, Dorian (MJT support)
-
Nico
- Newbie
- Posts: 19
- Joined: Tue Jul 08, 2008 3:15 pm
Post
by Nico » Sun Aug 31, 2008 4:29 pm
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

-
Nico
- Newbie
- Posts: 19
- Joined: Tue Jul 08, 2008 3:15 pm
Post
by Nico » Tue Sep 02, 2008 2:18 pm
No help? :/
-
JRL
- Automation Wizard
- Posts: 3532
- Joined: Mon Jan 10, 2005 6:22 pm
- Location: Iowa
Post
by JRL » Tue Sep 02, 2008 2:58 pm
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