Have problem with load and tabset
Posted: 25 Dec 2011 00:10
Let $TabsetBase be a permanent variable already set to an existing folder.
Then the following scripting command will work as expected:If, however, I prepare a script file Tabsets.xys with the following content:and define "On right-click" of the user button to be:then this seems not to work. Apparently $TabsetBase is not being resolved in that case - I am getting the error message:
"Path not found: C:\_PortableProgramFiles\xyplorer\Data\Panes\$TabsetBase\"
What am I doing wrong? (I additionally tried pronouncing $TabsetBase a global variable, but that did not help.)
Then the following scripting command will work as expected:
Code: Select all
tabset("open", "$TabsetBase as: $TabsetBase\<get pane>");Code: Select all
"Open Tabset : opentabset"
tabset("open", "$TabsetBase as: $TabsetBase\<get pane>");Code: Select all
load "Tabsets.xys", "opentabset""Path not found: C:\_PortableProgramFiles\xyplorer\Data\Panes\$TabsetBase\"
What am I doing wrong? (I additionally tried pronouncing $TabsetBase a global variable, but that did not help.)