I see posting on how to define a single variable with one screen of radio buttons...but how do I define multiple variables in the script conditions text box in the File Properties?
I have created 2 Radio button screens, one to ask which language (French or English) which I am capturing in %Language% and the other screen to capture which version of PowerPoint they are running (2000 or 2002,2003,2007)
[My PowerPoint Addin is in 2 versions, one for Powerpoint 2000 and one for Powerpoint 2002,2003 or 2007, hence I am leaving it up to user to select which PowerPoint version they have]
on LanguageScreen1 I defined this on Next action after placing 2 radio buttons...
and in the Script conditions textbox definedCode:if String.ToNumber(SessionVar.Expand("%Language%")) == CTRL_RADIO_BUTTON_01 then English = true; French = false; else English = false; French = true; end
orCode:French
and it works fine.Code:English
I cant figure out how to have the second condition added in the textbox... is it with an AND and parenthesis? I need some examples please..
I tried the following and it doesnt work
Code:French AND 2000Code:(French) AND (2000 = TRUE)I tried doing it with just 2 radio buttons and also tried with 4 radio buttons (each version of Powerpoint on a separate button)Code:(French) AND (2002 = TRUE) OR (2003 = TRUE) OR (2007 = TRUE)
Some examples would be nice...please..
If someone has an alternative way of doing it, I am open to it.
thank you in advance...

Reply With Quote
