|
Hello,
I've
got a small script that runs well except for the result of M2Result and
M3Result
seen
below. The script will run and send the results to me in MOX; but it
ALWAYS
sends
me the Modem.2 is in use on " & mydate and Modem.3 is in use on "
& mydate
Oddly
enough, Modem.1 sends the correct info. Can you tell by looking at this,
why it
wouldn't evaluate the If statements? None of the
devices have been in use all day; but
my
script ignores that for Modem.2 and Modem.3 . I've even initialized all
three at the
beginning of the procedure.
Pause "Device"
Enter "MODEM.1" Wait 2 If At("Device is not in use") Then M1Result = "Modem.1 Not In use at this time" Else: M1Result = "Modem.1 is in use on " & mydate End If Key "{F11}" Wait 1 Enter "MODEM.2" Wait 2 If At("Device is not in use") Then M2Result = "Modem.2 Not In use at this time" Else: M2Result = "Modem.2 is in use on " & mydate End If Key "{F11}" Wait 1 Enter "MODEM.3" Wait 2 If At("Device is not in use") Then M3Result = "Modem.3 Not In use at this time" Else: M3Result = "Modem.3 is in use on " & mydate End If Key "{F11}" Wait 1 Thank
you,
Scott
|
<<image001.jpg>>
