Hi Jan,

I tried the new function getVarValue() that was introduced in 2259. 

I used this code:

var temp = getVarValue("%UserName%");
echo(temp);

However it seems not to work always. I did not test all variables, so here are
only some:

These work fine:
%Time%
%Date%
%FileName%
%FilePath%

These don't work:
%UserName%
%ComputerName%

And worst for me: All User variables don't work.

-- 
Oliver

<http://forum.pspad.com/read.php?6,39124,39162>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem