New test version online.
Now the key [Main]Interface= of a script defines the used interface.
Of course the '-Language' feature is still working.
The script itself can change it's own interface by
[First]
IniDelete,%ScriptFile%,Main,Interface
System,REFRESHINTERFACE
[Second]
IniWrite,%ScriptFile%,Main,Interface,Interface_A
System,REFRESHINTERFACE
Peter
BTW: This change I applied to olegpov's script:
[Process-Switch-Mode]
// psc new version
IniRead,%ScriptFile%,Main,Interface,%current%
If,%current%,EQUAL,Interface-Advanced,IniDelete,%ScriptFile%,Main,Interface
Else,IniWrite,%ScriptFile%,Main,Interface,Interface-Advanced
// psc commented old version
//Run,%ScriptFile%,Process-Init,Vars
//If,NOT,EXISTFILE,%MSSTRoot%\interfacemode.script,ExtractFile,%ScriptFile%,"Folder","interfacemode.txt",%MSSTRoot%
//If,EXISTFILE,%MSSTRoot%\interfacemode.txt,FileRename,%MSSTRoot%\interfacemode.txt,%MSSTRoot%\interfacemode.script
//Run,%MSSTRoot%\interfacemode.script,Process-Switch-Mode,%ScriptFile%
// psc end
//
//_______________________________________________________________________________
//
//System,REFRESHINTERFACE - not properly work on WB Smaller 077
If,%Version%,Smaller,077,System,RESCANSCRIPTS
Else,System,REFRESHINTERFACE
//_______________________________________________________________________________
//System,REFRESHINTERFACE
Additionally added a 'no progress show' to the buttons
pButton1="Switch To Advanced Mode",1,8,336,216,141,25,Process-Switch-Mode,-1
pButton1="Switch To Basic Mode",1,8,335,288,141,25,Process-Switch-Mode,-1