Hi guys,
Can someone please tell me what's wrong with this script?
I get a message "Line: 10 Invalid Numberic Value for MouseMove command
I've tried displaying %x% by using mdl > %x% but the message displays "%x" instead of a numeric value
setfocus>Siebel*
GetScreenRes>sX,sY
ScreenCapture>0,0,sX,sY,d:\macro\screen.bmp
FindImagePos>D:\macro\query.bmp,d:\macro\screen.bmp,20,1,XPos,YPos,imgs
Wait>1
Let> x = XPos_0 + 50
If>imgs>0
Mousemove> %x% ,YPos_0
EndIf
Thanks
Simple script help
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Remove the spaces. Or if you want them use the IGNORESPACES directive. See IGNORESPACES in the help file.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?