It reads the [Dependencies] section of selected scripts and depending on the content of the section, does some action.
The syntax in the [Dependencies] section is similar to the Verify syntax.
The program can check whether
- One or more scripts are selected
- And / or compare the value of a script's interface variable with a given standard.
- Selects a script
- Deselects a script
- Changes the value of an interface variable in a script
As sample, I modified the vUSBDummyDisk.Script:
I added three radio buttons:
- Select MountStorePE
- Unselect MountStorePE
- Let MountStorePE untouched.
[Dependencies] If {$$} then {Select {Removable Devices Combo}}; If {{$$} & {$$:pRadioButton1}=True} then {Select {MountStorePE}}; If {{$$} & {$$:pRadioButton2}=True} then {Unselect {MountStorePE}};Result:
When vUSBDummyDisk.Script is selected, allways RemovableDevicesCombo is also selected.
MountStorePE is selected / unselected, depending on the user's choice.
The !HandleDependencies.script is downloadable from the nativeEx server: http://nativeex.boot-land.net/Scripts/!...ependencies.zip
Peter