pspad:
--------------------------------------------------------------------------------
Yes. But you are using "somthing" what isn't projected to be a "startup
trigger"
--------------------------------------------------------------------------------
I know, I'm not saying it's a problem :)
The script I put a few posts ago is the only way I see to create a "startup
trigger".
If your script looks like this:
var module_name = "Test";
logAddLine("Test Script [global scope]");
function Init() {
logAddLine("Test Script [Init()]");
}
then "Test Script [global scope]" will appear in the log window multiple times
-- both when PSPad starts, and when the scripts are recompiled -- I think once
for every script file loaded (not sure on that), so that is not the way to do
it.
I'm not criticising this aspect of PSPad, it seems perfectly normal to me.
I just wanted to offer people that need a script to run ONCE when PSPad starts,
and not when the scripts recompile, a way to do it.
--
<http://forum.pspad.com/read.php?2,43921,43973>
PSPad freeware editor http://www.pspad.com