Page 1 of 1

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

Posted: 04 Feb 2013 20:24
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

Re: Switch to not show XY when called from CL

Posted: 05 Feb 2013 08:40
by admin
Not possible I think. It's not me who grabs the focus. WIndows gives it to me without asking.

Re: Switch to not show XY when called from CL

Posted: 05 Feb 2013 11:10
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)?

Re: Switch to not show XY when called from CL

Posted: 05 Feb 2013 11:19
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.

Re: Switch to not show XY when called from CL

Posted: 06 Feb 2013 12:38
by Marco

Re: Switch to not show XY when called from CL

Posted: 06 Feb 2013 12:39
by admin

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

Posted: 06 Feb 2013 12:42
by Marco
Thank you, I'm flattered!