Open a new tab with explore command line

Discussion related to "Everything" 1.5 Alpha.
Post Reply
vsub
Posts: 474
Joined: Sat Nov 12, 2011 11:51 am

Open a new tab with explore command line

Post by vsub »

How can I do this(or maybe it is a bug)
the command line is
-explore /new-tab the path
Everything is set to hide on close
If the Everything window is visible,this will create a new tab with folders panel active and the folder will be selected
But if I close the everything window,when I run the same command,the window appears but instead of opening a new tab,it replaces the current tab
I don't want that to happen

open_new_window_in_tab=1
Create a new window when running Everything is enabled
void
Developer
Posts: 16665
Joined: Fri Oct 16, 2009 11:31 pm

Re: Open a new tab with explore command line

Post by void »

After closing your search window and when no windows are visible and you run:

Everything.exe -explorer c:\windows -new-tab

Are you expecting your hidden window to be restored and a new tab created?



Does Everything need a command line option to restore your hidden windows? so you can call:

Everything.exe -restore-hidden-window
Everything.exe -explorer c:\windows -new-tab
vsub
Posts: 474
Joined: Sat Nov 12, 2011 11:51 am

Re: Open a new tab with explore command line

Post by vsub »

1.For some reason just running the command line "-restore-hidden-window" brings the help window with the command lines(like this command line does not exist)
2.Running the second command line...I get some weird results
When the window is hidden,it makes it visible and replaces the current tab
Running the command line again when the window is visible,brings the window and creates a new tab...which is what is expected

If "Create a new window when running Everything" is enabled
When the window is hidden,it will do the same as before,replacing the current tab
Running it again,it will create a new window with all of the tabs and replace the current tab
And running it for the 3rd time,it will create a new window without any tabs

What I want is,when the window is hidden,when I run that command to do the same thing it does as if the window was visible...and if possible,the whole command to be a single line
void
Developer
Posts: 16665
Joined: Fri Oct 16, 2009 11:31 pm

Re: Open a new tab with explore command line

Post by void »

-restore-hidden-window
There's no such option yet.



Are you expecting your hidden window to be restored and a new tab created?
vsub
Posts: 474
Joined: Sat Nov 12, 2011 11:51 am

Re: Open a new tab with explore command line

Post by vsub »

void wrote: Mon Apr 29, 2024 7:03 am
-restore-hidden-window
There's no such option yet.

Are you expecting your hidden window to be restored and a new tab created?
Yes,that's what I thought it will happen because when the window is visible,it works properly
void
Developer
Posts: 16665
Joined: Fri Oct 16, 2009 11:31 pm

Re: Open a new tab with explore command line

Post by void »

Everything 1.5.0.1375a will now create the new tab in the restored hidden window.

For example:
Close a window
Call:
Everything.exe -explorer c:\windows -new-tab
The closed window will be restored and the new tab created in this window.

This will only work if there's no windows visible.
Otherwise, the new tab is created in the visible window.
vsub
Posts: 474
Joined: Sat Nov 12, 2011 11:51 am

Re: Open a new tab with explore command line

Post by vsub »

Thanks,works great
Post Reply