Tool Parameter Macros not expanding

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Graham

Tool Parameter Macros not expanding

Post 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.
Harry Criswell

Re: Tool Parameter Macros not expanding

Post 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.
Harry Criswell

Re: Tool Parameter Macros not expanding

Post 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.
Graham

Re: Tool Parameter Macros not expanding

Post 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).
Graham

Re: Tool Parameter Macros not expanding

Post by Graham »

i mean as it did in 4.5, obviously.
Post Reply