open folder in new tab from quick search

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
glusberg
Posts: 138
Joined: 04 Dec 2010 17:47
Location: Win10 - SSP 125%

open folder in new tab from quick search

Post by glusberg »

I fear this should be obvious, and I must be thinking about it wrong, or am using the wrong vocabulary when searching help and the forum.

I do a quick search (usually from the address line using the ?), and i get a list of files, with the path on the second column (I have # turned on). I then want to open the folder where a specific file is located, in a new tab, but can not find the way to do it... clicking middle button, shift-clicking... nothing seems to make a difference. What am I missing?

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: open folder in new tab from quick search

Post by highend »

Right click the file, Go to Focused Item in New Tab (which scrolls that file into view)?
or
Open Containing Folder in New Background Tab (if you can live with the "background")?
or
a CTB with a script:

Code: Select all

tab("new", gpc(<curitem>, "path"));
One of my scripts helped you out? Please donate via Paypal

glusberg
Posts: 138
Joined: 04 Dec 2010 17:47
Location: Win10 - SSP 125%

Re: open folder in new tab from quick search

Post by glusberg »

Thanks for the quick response.
The script works exactly with what i want, thank you. I would prefer one of the other options.
Neither of the commands appeared when i right clicked. I found that the command was unchecked in the custom items in shell context main file list, and checked it, but to no avail...

I must still be missing something, somewhere. Did i turn off something critical for this somewhere?

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: open folder in new tab from quick search

Post by highend »

You probably selected
Configuration | Shell Integration | 64-bit Windows | Show the 64-bit context menu

Uncheck it.
One of my scripts helped you out? Please donate via Paypal

glusberg
Posts: 138
Joined: 04 Dec 2010 17:47
Location: Win10 - SSP 125%

Re: open folder in new tab from quick search

Post by glusberg »

Bingo! Great. That explained why I could not find it. I remembered having seeing it. Thank you.
Quite the trade off; now i need to figure out which context menu will be more useful on my everyday use.

I did add a button with the script you so nicely provided, and it works like a charm. Maybe I'll try using that for a while.

I (seem to) have a hard time gauging the apparently unrelated switches effects on (apparently) unrelated commands...

Thanks again!

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: open folder in new tab from quick search

Post by highend »

now i need to figure out which context menu will be more useful on my everyday use.
If I rarely need the 64-bit context menu, I just choose that one from the normal XY (32-bit) context menu^^
One of my scripts helped you out? Please donate via Paypal

Post Reply