sorry, I just figured out by reading again... I needed to use "Evaluate expression". Thanks!
Code: Select all
Test := 1
MsgBox, 0, , %Test%
If (Test = 1 or Test = 2)
{
MsgBox, 0, , Test is 1 or 2
}
MsgBox, 0, , End
Code: Select all
Test := 1
MsgBox, 0, , %Test%
If (Test = 1 or Test = 2)
{
MsgBox, 0, , Test is 1 or 2
}
MsgBox, 0, , End