pspad: -------------------------------------------------------------------------------- Scripting support returns filename for you as Editor.fileName --------------------------------------------------------------------------------
That was working properly (using the With syntax), I was just confued as to WHICH vaiables I could return. VBR's response was exactly what I was looking for. It could be me, but I'm thinking this isn't particularly clear in the documentation. I also found that it wasn't very clear about how the basic script file should look (I did get it figured out, it was the CONST declarations at the beginning that I was missing). I had the impression that getVarValue would return any of the variables available in the External Applications and Compiler strings. As a side note, is there a way to have a script call an External Application and wait? I saw that it could call the compiler, but I was trying to write a script that would be able to use the INPUT popup (with history) that comes up for External Applications, then opens the output file after the external application has run. Thanks, -Chris -- <http://forum.pspad.com/read.php?2,45194,45212> PSPad freeware editor http://www.pspad.com
