Both the "GetRectCheckSum" & "MouseMove" works as expected, Adding the "Alt R"
but script will not execute it. what am i missing?
[code]
WaitWindowOpen>Export Manager - [E0HSEG: House/Master Common Information]
SetFocus>Export Manager - [E0HSEG: House/Master Common Information]
Label>waitforupdate
Wait>sw
GetRectCheckSum>428,318,653,331,cs
If>cs=22394858,Done
Else
Press ALT
Send>R
Release ALT
Wait>sw
Goto>waitforupdate
EndIf
Label>Done
FindImagePos>C:\CP_Macros\JohnW\AesOkBtn.bmp,SCREEN,20,1,xPos,yPos,imgs
Wait>sw
If>imgs=0
MouseMove>xPos_0,yPos_0
Wait>sw
Lclick
EndIf
[/code]
Thanks
Gil
Help with stalled sctript
Moderators: Dorian (MJT support), JRL
-
- Pro Scripter
- Posts: 132
- Joined: Mon Dec 22, 2008 4:56 pm
- Location: St Augustine FL
Help with stalled sctript
Thank you in advance for all your help
Gil
Gil
The problem may lie in mixing the "If" syntaxIf>cs=22394858,Done
Else
Press ALT
Send>R
Release ALT
Wait>sw
Goto>waitforupdate
EndIf
Try changing the "If" to this:
Code: Select all
If>cs=22394858
Goto>Done
Else
Press ALT
Send>R
Release ALT
Wait>sw
Goto>waitforupdate
EndIf