Page 1 of 1

open folder in new tab from quick search

Posted: 02 Apr 2016 17:15
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?

Re: open folder in new tab from quick search

Posted: 02 Apr 2016 17:52
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"));

Re: open folder in new tab from quick search

Posted: 02 Apr 2016 18:11
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?

Re: open folder in new tab from quick search

Posted: 02 Apr 2016 18:24
by highend
You probably selected
Configuration | Shell Integration | 64-bit Windows | Show the 64-bit context menu

Uncheck it.

Re: open folder in new tab from quick search

Posted: 02 Apr 2016 18:40
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!

Re: open folder in new tab from quick search

Posted: 02 Apr 2016 18:46
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^^