see your code for BEFORE:
The is AFTER:
code:
$Selection = MessageBox("Do you want to inventory this machine? Click No to skip this update. Click Yes to inventory now.", "Inventory Updater", 36)
Select
Case $Selection = 2
? "Cancel selected, continuing...."
Case $Selection = 6
? "Yes selected, continuing...."
Run "\\server\share\aida\aida32 /R \\server\share\aida\a32reports\$HOSTNAME /INI /Custom \\server\share\aida\test.rpf /Silent /Safe"
?" Inventory is in progress...please wait....."
Case $Selection = 7
? "No selected, continuing...."
Case 1
? "Unknown selected, continuing...."
$ReturnCode = SendMessage("LANADMIN" , @USERID + " Inventory Error at " + @TIME)
If $ReturnCode = 0
? "Message has been sent to LAN Admin..."
EndIf
EndSelect
CLS
FlushKB
Exit
Note that you have an unassigned GOTO
quote:
Case $Selection = 7
? "No selected, continuing...."
Goto NO
and a bunch of sleep statements... probably for the entertainment of your users (users can't read) and CLS statements (so they only had 1 line to read at a time.