Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: More Options/Limitations for Multiple Executions #732

Closed
Ichisich opened this issue Feb 27, 2024 · 9 comments
Closed

Feature Request: More Options/Limitations for Multiple Executions #732

Ichisich opened this issue Feb 27, 2024 · 9 comments

Comments

@Ichisich
Copy link

I tried the add-on "Multiple Executions", and it does what I want.
Letting me drag a tab outside the current window and open it in a new instance of Tablacus.
But the drawback is that now every folder I open, via link, shortcut or the start menu is also sent to a new instance instead of a simple tab.

Would be neat if there is an option, so multiple executions only generates a new instance when explicitly triggered.

@ccfs
Copy link

ccfs commented Mar 5, 2024

Are these what you want?

Run "TE64.EXE" when TE is already running -> go to existing window
Run "TE64.EXE c:\" when TE is already running -> open c:\ in existing window
Run "TE64.EXE /new" when TE is already running -> new window
Run "TE64.EXE /new c:\" when TE is already running -> open c:\ in a NEW window
Drag a tab outside current window -> open the tab in a new window

@Ichisich
Copy link
Author

Ichisich commented Mar 5, 2024

Sounds about right.
Only thing I would add is the possibility to open a new instance by middle mouse clicking the tablacus tasbar button.

@ccfs
Copy link

ccfs commented Mar 5, 2024

Let's assume that you have ticked "Always" on the Options page of the add-on.

Then you will get a new window when you run TE by:

  • left-click a desktop shortcut to TE
  • left-click a start menu item of TE
  • left-click or middle-click task bar icon of TE

All 3 cases above are actually .LNK to TE, which may also include a folder path to open.

Questions:

  1. Exactly under which situation you do NOT want a new window? All cases above are all explicitly triggered by you.
  2. Have you ever set up any Registry entries so that TE runs when you click a shortcut to a FOLDER?

@Ichisich
Copy link
Author

Ichisich commented Mar 5, 2024

"Always" is of course ticked off.

Questions:

1. Exactly under which situation you do NOT want a new window? All cases above are all explicitly triggered by you.

Basically always, except when dragging a tab outside the current window or giving an explicit "open in new window" command.

2. Have you ever set up any Registry entries so that TE runs when you click a shortcut to a FOLDER?

I set up Tablacus as the default file explorer HKEY_CLASSES_ROOT\Directory\shell\open\command and open folders mostly by shortcuts (CTRL+ALT+Key) or windows search.

@ccfs
Copy link

ccfs commented Mar 6, 2024

Currently the add-on checks the command line option to decide whether to open a new window:

CURRENT Always = OFF Always = ON
1 Run TE without command line option (Simple start) Go to current window New window
2 Run TE with command line option (Open a folder) New window New window
3 Drag a tab outside TE New window New window
4 Open in new window command New window New window

And these are what you want:

REQUESTED
1 Run TE without command line option (Simple start) New window
2 Run TE with command line option (Open a folder) Open the folder in current window
3 Drag a tab outside TE New window
4 Open in new window command New window

Correct?

@Ichisich
Copy link
Author

Ichisich commented Mar 6, 2024

Not sure about 1.
"Run TE without command line option" should probably still go to current window, except when "always" is ticked on.
Starting Tablacus with middle mouse click should go to new window. (Windows convention)
But that's probably beyond the scope of an add-on.

@ccfs
Copy link

ccfs commented Mar 6, 2024

"Starting Tablacus with middle mouse click" is a case of situation 1 ("Clicking TE64.EXE" is also a case of situation 1), and is within the scope of the add-on.
I will try to add an option independent of the "Always" check box to handle your request.

@ccfs
Copy link

ccfs commented Mar 7, 2024

The patched version of TE has been enhanced for your request. Please make sure your TE version is 23.9.13 before you install the patch.

On Options page of the add-on:

  1. Choose "Always" for "Run TE" so that middle-clicking TE task bar icon will open a new window.
  2. Choose "/nw" for "Run TE with a command line option" so that clicking a shortcut to a folder will open the folder in current window.

@Ichisich
Copy link
Author

Ichisich commented Mar 7, 2024

Much appreciated.

@Ichisich Ichisich closed this as completed Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants