I have looked around for a bit and cannot find any documentation about syntax and operators that would explain the following:
Let's use this line of code for example:
If,%OS%,Equal,Win7,Begin If,Not,%ProjectName%,Equal,Win7PESE,Begin ShellExecute,Open,http://spam/index.php?topic=131.0 Message,"With your Windows 7 source selected, you need to use Win7PESE Project for 'WinPESE' building.#$x#$xLook at Win7PESE home page: http://spam/index.php?topic=131.0",ERROR Halt,"With your Windows 7 source selected, you need to use Win7PESE Project for 'WinPESE' building." End End
Now I will edit this code with what I would think would work, or what I am trying to accomplish and let's see if anyone would know how to do it?
If,%OS%,Equal,Win7,Begin If,Not,%ProjectName%,Equal,Win7PESE or SomeOtherProject1 or SomeOtherProject2,Begin ShellExecute,Open,http://spam/index.php?topic=131.0 Message,"With your Windows 7 source selected, you need to use Win7PESE Project for 'WinPESE' building.#$x#$xLook at Win7PESE home page: http://spam/index.php?topic=131.0",ERROR Halt,"With your Windows 7 source selected, you need to use Win7PESE Project for 'WinPESE' building." End End
So how would you go about accomplishing what I just showed you?
Is there a switch or case for WinBuilder for example?
Edited by wjsorensen, 01 June 2017 - 12:03 AM.