[SOLVED] Switch to not show XY when called from CL

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

[SOLVED] Switch to not show XY when called from CL

Post by Marco »

I just found a mildly hackish* way to open files listed by Everything (http://www.voidtools.com) via XYplorer, namely running

Code: Select all

"C:\path\XYplorer\XYplorer.exe" /script="::open '%1'" /flg=2
By doing this, XY opens the path contained in %1, reusing the current instance.
This works, except for XY window popping up when the code above is executed.
Would it be possible to add a CL switch so that XY window doesn't take the focus?

*: here's the reason for such apparently convoluted code, http://forum.voidtools.com/viewtopic.php?f=2&t=1643
Last edited by Marco on 06 Feb 2013 12:39, edited 1 time in total.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 65024
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Switch to not show XY when called from CL

Post by admin »

Not possible I think. It's not me who grabs the focus. WIndows gives it to me without asking.

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: Switch to not show XY when called from CL

Post by Marco »

I see. Do you happen to know if this behaviour happens even when a message is sent to XY via WM_COPYDATA (as described in the Help, page 305)?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 65024
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Switch to not show XY when called from CL

Post by admin »

Marco wrote:I see. Do you happen to know if this behaviour happens even when a message is sent to XY via WM_COPYDATA (as described in the Help, page 305)?
Not tested, but I don't think it would happen then.


admin
Site Admin
Posts: 65024
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Switch to not show XY when called from CL

Post by admin »


Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: [SOLVED] Switch to not show XY when called from CL

Post by Marco »

Thank you, I'm flattered!
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Post Reply