Hello!
I’ve got a fairly legnthy script that I’m having trouble getting to work. When I run the script, I get the following error:
[quote=“Eggplant”]
STInvalidBooleanException Value is not true or false, or yes or no: 2K [/quote]
The offending loop in my script is:
if currOS is equal to "XP" or "2K" or "ME" or "98" then
typetext shiftdown &controldown &"N" &shiftup &controlup
else
typetext "\s\aN\S\A"
end if
The variable currOS is coming in from another script and is properly set to XP for this particular run.
Do I need to separate all these into separate else if/then loops? If not, what did I do wrong?
TIA,
Allen