Before I start, I would just like to say that I'm not very bright !!!
Can someone please give me the correct code for the following...
IF user OS = Win95, 98 or ME
Do 'something'
ELSE
Do 'something different'
End IF
Professional Software Development Tools
Before I start, I would just like to say that I'm not very bright !!!
Can someone please give me the correct code for the following...
IF user OS = Win95, 98 or ME
Do 'something'
ELSE
Do 'something different'
End IF
You got it right there. Use:
<font color=blue> IF %IsWin95% OR %IsWin98% OR %IsWinME%</font color=blue>
Paste this in if you want:<font color=green>
<IR_ACTIONS_LIST>
<Action name="IF">
<Type>200</Type>
<Function>1</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Condition>%IsWin95% OR %IsWin98% OR %IsWinME%</Condition>
</Action>
</IR_ACTIONS_LIST></font color=green>
the rest is good
-
= Derek
["All glory comes from daring to begin" - fortune cookie]
Thanks Derek !!!
To be honest, I thought that I had to use 'OR', but I wasn't entirely sure ( I didn't think that I could use it more than once in the same line ).