Open file in new tab not new instance

Ideas for new features

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

Post Reply
RickB
Posts: 4
Joined: Tue Mar 06, 2007 3:35 pm

Open file in new tab not new instance

Post by RickB »

When a file is opened from the Windows Explorer context menu and an instance of TextPad is already running, it would be preferred if the file were opened in a new tab of the already-running instance instead of launching a new instance of TextPad.
Sharbotcom
Posts: 14
Joined: Thu Jul 27, 2006 2:08 pm

Post by Sharbotcom »

RickB:

Configure/Preferences.../General De-select the "Allow multiple instances to run" check box. This will open the file in the current instance. You could not have an option to force the file to be opened in the same instance AND have multiplle instances allowed because the system would never know which instance to use.

Thanks,
Bill
RickB
Posts: 4
Joined: Tue Mar 06, 2007 3:35 pm

Post by RickB »

Thanks for that, Bill.
dkalata
Posts: 4
Joined: Mon Apr 24, 2006 4:13 pm

Post by dkalata »

Sharbotcom wrote:RickB:

Configure/Preferences.../General De-select the "Allow multiple instances to run" check box. This will open the file in the current instance. You could not have an option to force the file to be opened in the same instance AND have multiplle instances allowed because the system would never know which instance to use.

Thanks,
Bill
Hi Bill. With version 4.7.x, the behavior is exactly the opposite of what you state. With 4.7.x I have the option "Allow multiple instances to run" checked so that I can run more than 1 instance of TextPad. However, with version 4.7.x, when I would right-click a file and choose "TextPad", it would ALWAYS open into a tab of the most recently used instance of TextPad. This was fine with me. If I wanted files into a new instance, I added a "Send To" shortcut for TextPad which worked fine.

However, with version 5.x, this no longer works. Now when I right-click a file and choose "TextPad", I get a new instance of TextPad EVERY time. And if I disable the "Allow multiple instances to run" option, the Send To option no longer works!

This is disappointing. Do you have any idea why this behavior changed???
eanrollings
Posts: 2
Joined: Thu Aug 16, 2007 3:47 pm

new tab vs new instance

Post by eanrollings »

is there any update to this? I do want to allow multiple instances of textpad but for the right-click context menu want it to open in the existing instance of textpad (just like it was doing in 4.7).
dkalata
Posts: 4
Joined: Mon Apr 24, 2006 4:13 pm

Moderators are ignoring this thread

Post by dkalata »

It looks like this issue is being ignored by the moderators *and* TextPad. I have switched back to version 4.7.3. There are some features I like with 5.x, but if opening a file into an existing instance of TextPad is not corrected, I cannot see upgrading. I'll be sticking with 4.7.3.

At the very least, this behavior should be selectable within the program preferences (e.g. open files like 4.7.x or 5.x). That would be acceptable!
eanrollings
Posts: 2
Joined: Thu Aug 16, 2007 3:47 pm

too bad

Post by eanrollings »

yea, that's too bad. I'm a heavy user of Textpad and that is a key feature to my productivity. Oh well, back to 4.7.3 for now ...

Moderators, please let us know when you have resolved this issue. Would love to keep using the current release.
User avatar
Bob Hansen
Posts: 1517
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

Check out the -m startup switch. If that works for you, then modify the File Association to add the -m switch.
Hope this was helpful.............good luck,
Bob
larsahl
Posts: 1
Joined: Sat Sep 01, 2007 9:10 am

Post by larsahl »

modify the File Association in Windows Vista to add some extra command to the textpad.exe line doesnt seem to be possible. If I choose the context menu to open files with textpad it will be open in the same window. But if I dubbel click on some file, it will open a new textpad.

Im running the latest version of textpad 5.0.3.
Erik G D
Posts: 4
Joined: Tue Jan 29, 2008 9:37 am

Allow multiple instances, but open files in active instance

Post by Erik G D »

Previous versions of Textpad let the user decide if and when a new instance should be started, by opening files in the currently active (if any).
Several issues regarding this has been registered in the forums.

Why has this behaviour been removed, and when will it be reimplemented?

Regards,
Erik
crubble
Posts: 1
Joined: Tue Mar 04, 2008 5:06 pm

Post by crubble »

I got the same problem after installing the latest version.

But the hint from Bob Hansen is great. Maybe not everybody can work with that.

A little explanation:
- De-select the "Allow multiple instances to run" check box at Configure -> Preferences... -> General
- Switch to the "C:\Documents and Settings\CURRENT USER\SendTo"
- Right-Click on the "TextPad"-Link and select "Properties"
- Add a " -m" (with leeding space) at the end of the "Target" Value
e.g. "C:\Program Files\TextPad 5\TextPad.exe" -m

Now the selected files via contex menu are opened in the current instance.
If you want to start a new instance just open the file via the "Send to" Context.

I hope this was helpful.

Sorry for grammatical errors but my english is a bit rusty - not enough practice.

Greetz
Crubble
ckcjim
Posts: 1
Joined: Tue Jul 15, 2008 6:11 pm

Post by ckcjim »

I'm another 4.7.3 user who frequently had multiple instance of TextPad open with different workspaces in each one, but still liked the ability to open an file from the Context menu and have it appear in the active TextPad instance. I can live with Bob's workaround, but it makes it impossible to have my multiple instances open without launching them from a file. I'd really like to see the old behavior restored as an option.
VoxEcho
Posts: 36
Joined: Fri Sep 26, 2003 4:48 pm
Location: Oz

Post by VoxEcho »

actually, in older versions the need to "open in most recent instance" was so annoying that it would even load new workspaces in existing textpad instances... removing whatever workspace was loaded.

I would personally be very unhappy to see this returned. I too use many instances (as can be seen by my 5 year quest to get the minimize to systray tooltip to show the workspace name and not just "TEXTPAD" ... however, if I want to open a file in an existing instance, I find it no challenge to drag it into the instance I want.

Just my experience
Why yes, I do program in Comic Sans
Post Reply