Tool enhancement

Ideas for new features

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

Post Reply
NaasDup
Posts: 7
Joined: Tue Oct 02, 2007 6:26 pm

Tool enhancement

Post by NaasDup »

Hi

In the Preferences/General settings is an option to run multiple instances of Textpad or not. I have created some tools to use $Sel as parameter
as to open the file I have selected in a document, like stylesheets mention in html or includes in asp. Problem is I would like to open that document in the same TextPad session and not a new one which is what is happening.

Would it be possible on the Tools screen when you create a new tool in Textpad pointing to Textpad itself as the program, to add an additional checkbox to select whether this tool - in this case Textpad itself - will open as a new instance or not.

Either this or provide the ability to open the filename listed in a document.
In UltraEdit you only have to put the cursor on a File and it would open the file.

Thanks
Naas
drefty
Posts: 35
Joined: Mon Dec 22, 2003 3:53 pm

Post by drefty »

1) Ability to force single Textpad instance.

Preferences :: General :: Allow multiple instances to run (turn this off)

You're saying that you already tried the above, and it does not work?

2) Ability to open filename in a document

see the following:
http://forums.textpad.com/viewtopic.php ... t=filegoto
http://forums.textpad.com/viewtopic.php ... t=filegoto
NaasDup
Posts: 7
Joined: Tue Oct 02, 2007 6:26 pm

Post by NaasDup »

Hi Drefty

No that is not what I am saying. I am requesting that the Tools screen have a similar setting where in the event that you call TextPad self as a TOOL that you will be able to launch TextPad either within the current TextPad instance or create a new instance of TextPad.
User avatar
Bob Hansen
Posts: 1516
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

This may be a case where the "-m" parameter will be useful.

Set the TextPad option to not allow multiple instances.
Configure/Preferences /General/Allow multiple instances to run = YES

If the tool calls "TextPad.exe", then it will open in the same instance.
But if the tool calls "TextPad.exe -m", then a new instance will open.

Does that work for you?
Hope this was helpful.............good luck,
Bob
Post Reply