Page 1 of 1

Tool Parameter Macros not expanding

Posted: Fri Jan 10, 2003 11:11 am
by Graham
Hi,

I've noticed a problem in the new 4.6 version, whereby the tool parameter macros ($FileName, $BaseName, etc) are not expanded when they are used in dialog boxes. For example, when using the default "Run Java Application" tool, and checking "Prompt for Parameters", the macro entered in the "Parameters" box does not get expanded when the tool is run. So pressing Ctrl+2 gives a dialog box with "$BaseName" in it, instead of the actual base name of the file I've got opened.

I was wondering if anyone else has noticed this problem, and if there are any ways around it / fixes. This is on XP SP1.
thanks,
Graham.

Re: Tool Parameter Macros not expanding

Posted: Thu Jan 23, 2003 4:32 pm
by Harry Criswell
Yes I have the same problem. I had TextPad 4.5 and installed over the existing install to save my preferences as recommended. I'm running Windows 2000 with SP3 plus all critical PreSP4 patches.

Re: Tool Parameter Macros not expanding

Posted: Thu Jan 23, 2003 4:47 pm
by Harry Criswell
Yes I have the same problem. I had TextPad 4.5 and installed over the existing install to save my preferences as recommended. I'm running Windows 2000 with SP3 plus all critical PreSP4 patches.

Re: Tool Parameter Macros not expanding

Posted: Thu Jan 23, 2003 5:00 pm
by Graham
I emailed TextPad support, and it turns out that although it doesn't expand the names on-screen, the correct expansions are sent to the program (eg for the java example, the base name of the file is sent to java.exe, just as it did in 4.6).

Re: Tool Parameter Macros not expanding

Posted: Thu Jan 23, 2003 5:01 pm
by Graham
i mean as it did in 4.5, obviously.