Righty, I've been through the HelpFile and the readme.rtf in the scripting
directory and I have a question/observation regarding the getVarValue()
function.

>From the helpfile:

getVarValue(variable: string)[, filename: string]:string 

Returns any PSPad variable. Second parameter is optional, is used fo filename
related variables. 

Example VBscript
test = getVarValue("%UserName%")
echo(test)



I am trying to get at the application document root and application web server
settings. These are defined in the PSPad.INI file as PHPDocs and HTServer.
However getVarValue("%PHPDocs%") is returning a nullstring, what am I doing
wrong ?

If these ini file values are not accessible through getVarValue() is there a
documented list (or accessible collection/dictionary object) of the variables ?
The list in the helpfile is obviously not complete as the %Username% variable in
the above example is not in the helpfile listing.

Sorry if I am being a pain. I can access the INI file directly but if it is not
needed then I'd rather not do it ;)

-- 
<http://forum.pspad.com/read.php?2,44394,44400>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem