I have nearly got the script running the way I want however it seems to have a small issue which I can not work out.
Note alot of mouse moves as the tab order for the program is all over the place.
The main part of the script works fine, however the issue lay's in
If>%ConfNum%=%CompSiteId%,NoSiteID,Finish
The details are being placed in the var ok, however if %ConfNum%=%CompSiteId% equals the same value It should move to the label Finish, however if they do not equal the same value it should move to NoSiteID.
This is not happening. What is happening is that both are moving to NoSiteId.
Please Help

Script Below
========
CapsOff
Day>the_day
Month>the_month
Year>the_year
Let>Info=%the_day%/%the_month%/%the_year%
Run Program>calc
WaitWindowOpen>Calculator
GetClipBoard>ESN
Send Character/Text>%ESN%
Press F5
MoveWindow>Calculator,0,0
Wait>1
MouseMove>358,342
LDblClick
Press Ctrl
Send Character/Text>c
Release Ctrl
GetClipboard>ConfNum
Wait>0.1
MouseMove>387,432
LDblClick
Press Ctrl
Send Character/Text>c
Release Ctrl
GetClipboard>CompSiteId
Wait>0.1
MouseMove>639,543
Ask>Does The ESN Match The Site ID?,SiteID
If>SiteID=NO,End
If>SiteID=YES,Note
label>Note
MouseMove>475,630
LClick
Press Home
Send Character/Text>ESN Matches - User ID: %USER_NAME%
Press Enter
MouseMove>363,477
LClick
Press End
Press Shift
Press Home
Release Shift
Press Del
Wait>0.5
Send Character/Text>Info
Wait>0.5
MouseMove>789,398
LClick
MouseMove>382,693
LClick
MouseMove>278,395
LClick
MouseMove>406,454
LClick
Press End
Press Shift
Press Home
Release Shift
If>%ConfNum%=%CompSiteId%,NoSiteID,Finish
MsgBox>Errored At Confirming Conf & Site ID
Goto>End
Label>Finish
Press Del
Press Tab
Press Shift
Press Home
Release Shift
Press Del
Send Character/Text>Completed
Press Tab
Goto>End
Label>NoSiteID
Send Character/Text>No Site ID
Press Shift
Press Tab
Press Home
Release Shift
Press Del
Send Character/Text>L2BOH
Goto>End
Label>End
CloseWindow>Calculator
--
Michael Allen
NURV | CyberCitizen
"If you spend more on coffee than on IT security, you will be hacked."
White House cybersecurity advisor, Richard Clarke