Make XYplorer listen to command line from 3rd party software

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Make XYplorer listen to command line from 3rd party software

Post by binocular222 »

When XYplorer is already opened, I need a command line to open a path with a new Tab in XYplorer

For example: Xyplorer.exe -path "C:\program files"

The reason is: I have some search software (Everything; RecentX) which search for folders, but when I open that folders from Everything, a Windows Explorer appear. I want it to be opened in new XYplorer Tab instead


Thank you.
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

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

Re: Make XYplorer listen to command line from 3rd party soft

Post by highend »

Do you really have configured Everything correctly?

Look at: http://www.voidtools.com/faq.php#How_ca ... le_manager

Works flawlessly with XYplorer...
One of my scripts helped you out? Please donate via Paypal

binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: Make XYplorer listen to command line from 3rd party soft

Post by binocular222 »

highend wrote:Do you really have configured Everything correctly?

Look at: http://www.voidtools.com/faq.php#How_ca ... le_manager

Works flawlessly with XYplorer...
I have this:

open_folder_command=$exec("E:\7Utilities\XYplorer\XYplorer.exe" "%1")

But XYplorer open in current tab instead of new tab

PS: I applied the same command with RecentX but XYPlorer open in New window (another instance of XYplorer appear)
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

Re: Make XYplorer listen to command line from 3rd party soft

Post by avsfan »

binocular222 wrote:
highend wrote:Do you really have configured Everything correctly?

Look at: http://www.voidtools.com/faq.php#How_ca ... le_manager

Works flawlessly with XYplorer...
I have this:

open_folder_command=$exec("E:\7Utilities\XYplorer\XYplorer.exe" "%1")

But XYplorer open in current tab instead of new tab

PS: I applied the same command with RecentX but XYPlorer open in New window (another instance of XYplorer appear)
I think you'll get the behavior you desire(at least for Everything) if you just turn on the option "Open Command line start path in new tab" under the "Startup & Exit" section in the configuration window (F9 or Tools->Configuration).

I hope this helps!

andy

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

Re: Make XYplorer listen to command line from 3rd party soft

Post by highend »

But XYplorer open in current tab instead of new tab
Config - Startup & Exit - Enable "Open command line start path in a new tab".
PS: I applied the same command with RecentX but XYPlorer open in New window (another instance of XYplorer appear)
Config - Startup & Exit - Disable "Allow multiple instances".
One of my scripts helped you out? Please donate via Paypal

binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: Make XYplorer listen to command line from 3rd party soft

Post by binocular222 »

"Config - Startup & Exit - Enable "Open command line start path in a new tab"

Yeah, this really works. Thank you alot.

PS: I applied the same command with RecentX but XYPlorer open in New window (another instance of XYplorer appear)
Config - Startup & Exit - Disable "Allow multiple instances".[/quote]

I disabled "Allow multiple instances" but it does not help with Recent X
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

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

Re: Make XYplorer listen to command line from 3rd party soft

Post by highend »

I disabled "Allow multiple instances" but it does not help with Recent X
Seems to be true.

Maybe you should send the developers (of RecentX) a bug report?
One of my scripts helped you out? Please donate via Paypal

binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: Make XYplorer listen to command line from 3rd party soft

Post by binocular222 »

I sent the bug to RecentX team, Hope they can help.

A combination of RecentX and XYplorer would be perfect!
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

Post Reply