TechHit QuickJump > new tab in XYplorer

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
xyplorerköln
Posts: 179
Joined: 01 Jan 2016 18:59

TechHit QuickJump > new tab in XYplorer

Post by xyplorerköln »

Hi there! Thanks to everyone in these forums for excellent help. I'm very thankful to learn so much from the community.

I am using TechHit QuickJump (https://www.techhit.com/QuickJump/open_ ... lders.html) - a huge timesaver. [It looks like a simple, what's-the-point? app, but once you use it, you'll see.]

The idea is that you use a hotkey combination to open QuickJump, type a few letters, and it quickly finds the folder location you want. If you hit enter or double-click your selection, by default, QuickJump either (a) passes a folder location to a navigation target you have open (for example, a Save As... dialogue or an application's navigation) or (b) if no navigation target is selected, it opens a new Windows File Explorer window and navigates to the seelcted location.

For case (b) above, instead of targeting Windows File Explorer, I'd like to target XYplorer and open a new tab. QuickJump allows the user to set a Custom "Open folders in." (If the location of this target has spaces in it, you have to put the entire location in quotes.) I've tried some different approaches, but here are the results:

1. "C:\XYplorer 3\XYplorer.exe" /script="::tab('new');" /flg=2
A new tab opens in XYplorer, but it's pointed to the same location as the previously selected tab in XYplorer. (i.e. The location selected in QuickJump does not get opened in XYplorer.)

2. "C:\XYplorer 3\XYplorer.exe" /script="::tab('new');"
A new tab opens in XYplorer, and it is correctly navigated to the QuickJump selection. However, the previously selected tab in XYplorer also gets navigated to the QuickJump location selection, so two tabs end up at the location. (But I want the previously selected tab left alone, and just the new tab to go to the QuickJump location selection.)

3. "C:\XYplorer 3\XYplorer.exe"
The currently selected tab in XYplorer is correctly navigated to the QuickJump selection. But I want a new tab; I don't want the currently selected tabto be navigated away from its current location.

Any ideas?

jupe
Posts: 3478
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: TechHit QuickJump > new tab in XYplorer

Post by jupe »

Did you try this, it should be the easiest solution:

viewtopic.php?f=3&t=18538&p=156551#p156551

xyplorerköln
Posts: 179
Joined: 01 Jan 2016 18:59

Re: TechHit QuickJump > new tab in XYplorer

Post by xyplorerköln »

Hi jupe - thanks again for jumping in so quickly to help.

Yes, I tried setting Configuration > General > Startup & Exit > "Open command line start path in new tab" but for some reason two new identical tabs (navigated to the correct location, which is good) were opening. I thought if I could understand what was going on in the logic here, I could find a workaround with the "new tab" setting off but using scripting. Any additional thoughts?

jupe
Posts: 3478
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: TechHit QuickJump > new tab in XYplorer

Post by jupe »

So you set that option, and then in QuickJump just configured it to the XY exe like

C:\Path\XYplorer.exe

without any other switches, and it opens 2 identical locations in 2 new tabs?

if that is happening a hackish workaround that may work could be

"C:\XYplorer 3\XYplorer.exe" /script="::tab('close');"


or possibly try setting this in QuickJump

"C:\XYplorer 3\XYplorer.exe" /path=

opening 2 tabs seems strange.

or with the setting off:

"C:\XYplorer 3\XYplorer.exe" /script="::tab('new');" /flg=2 /path=

I don't really want to install it to try to get it working, others here may have a solution for you though.

xyplorerköln
Posts: 179
Joined: 01 Jan 2016 18:59

Re: TechHit QuickJump > new tab in XYplorer

Post by xyplorerköln »

---EDITED to followup on jupe's EDITS---

Haha! The tab('close') is cool, and it sort of works (although I don't like having a tab-subtractive script always triggering in QuickJump).

OK, so here's what's really weird. Using your suggested /script="::tab('close');" in QuickJump:

1. I open XYplorer and have, let's say, 3 tabs open already.
2. I use QuickJump. It obviously opens at least one tab, but then immediately closes whatever tabs it opened. So I'm left with 3 tabs.
3. I use QuickJump again. Now it opens two tabs, then immediately closes one. (Your intended effect.)
4. Let's say I close all the QuickJump-opened tabs and I'm back to the original 3 tabs. I use QuickJump again, and it does the behavior from #2 above.
5. I use QuickJump again. It does the behavior from #3 above.
(loop to #4)

Now, if I get rid of any command line scripts or use /path= , the behavior is the same as above, plus one tab. (At #2, one tab opens; at #3, two tabs open.) So it's the same double-tab effect, without the ('close') closing one.

Really weird. What would cause this conditional behavior?

PS Is there a straightforward way to trace what's being passed into XYplorer (a script monitor, etc.)?

PPS re: install avoidance --- QuickJump is very lightweight, and honestly you'll love it (unless you already have your own quick-find tool). I usually don't like these novelty apps, but this one saves me a lot of time every day.

jupe
Posts: 3478
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: TechHit QuickJump > new tab in XYplorer

Post by jupe »

xyplorerköln wrote:PS Is there a straightforward way to trace what's being passed into XYplorer (a script monitor, etc.)?
This might work:

https://docs.microsoft.com/en-us/sysint ... ds/procmon

xyplorerköln
Posts: 179
Joined: 01 Jan 2016 18:59

Re: TechHit QuickJump > new tab in XYplorer

Post by xyplorerköln »

with Configuration > General > Startup & Exit > "Open command line start path in new tab" setting off and using:

"C:\XYplorer 3\XYplorer.exe" /script="::tab('new');" /flg=2 /path=

a new tab opens but it's at the same location as the previously selected tab in XYplorer. (The QuickJump-selected location is not used in the new XYplorer tab.)

jupe
Posts: 3478
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: TechHit QuickJump > new tab in XYplorer

Post by jupe »

Ok I reluctantly installed it and it works fine for me, with just the XY exe file in the box, and this setting enabled:

Configuration | General | Startup & Exit | Open command line start path in new tab

It opens only 1 new tab of the required location. if I were you I would settle for that.

The other way was unreliable sometimes it opens 2 tabs sometimes it doesn't, dependent on location, there is another app like this called Listary that may be of interest to you also.

xyplorerköln
Posts: 179
Joined: 01 Jan 2016 18:59

Re: TechHit QuickJump > new tab in XYplorer

Post by xyplorerköln »

jupe wrote:
xyplorerköln wrote:PS Is there a straightforward way to trace what's being passed into XYplorer (a script monitor, etc.)?
This might work:

https://docs.microsoft.com/en-us/sysint ... ds/procmon
Found the process start for an example QuickJump use. It shows a "Command line:" of:
procmon wrote:"C:\Windows\System32\cmd.exe" /C ""C:\XYplorer 3\XYplorer.exe" "C:\Users\System\Documents\Folder1\Client\1.2\""
Looks totally straightforward to me. I don't see how that could cause the issue.

xyplorerköln
Posts: 179
Joined: 01 Jan 2016 18:59

Re: TechHit QuickJump > new tab in XYplorer

Post by xyplorerköln »

jupe wrote:Ok I reluctantly installed it and it works fine for me
Thank you!! I appreciate it and I understand the reluctance.
jupe wrote:with just the XY exe file in the box, and this setting enabled:

Configuration | General | Startup & Exit | Open command line start path in new tab

It opens only 1 new tab of the required location. if I were you I would settle for that.
OK, so I just totally closed everything and started over. Now, as you said, just the "Open command line start path in new tab" setting in combination with specifying the XYplorer.exe location in QuickJump seems to be working correctly.

I'm not sure what was happening earlier (maybe some buggy caching of settings or something?) but after a complete restart of both apps, seems to work correctly now.
jupe wrote: The other way was unreliable sometimes it opens 2 tabs sometimes it doesn't, dependent on location
Confirmed, thus this thread was started.
jupe wrote:there is another app like this called Listary that may be of interest to you also.
Yep, I like Listary a lot and use it for "Save as..." dialogs and for finding things a la Launchy. Their tech support is very good and they seem responsive to feature requests, too. I find QuickJump to be the absolute quickest, though, for one purpose: quickly finding a location and jumping to it.

Post Reply