Page 1 of 1
Minimize on double-click
Posted: 17 Dec 2009 20:05
by jpjnh
I will often use XY to find a file and double-click it to open it in its default program. I usually don't need to have XY still in view after that. So it would be nice to have a setting that allows the choice to have XY minimize itself after a file is double-clicked in the file pane.
Re: Minimize on double-click
Posted: 17 Dec 2009 20:38
by zer0
This would probably be something that will be covered by Custom Event Actions (CEA, see roadmap in FAQs & Polls). However, in the meantime, you can create a script that opens <curitem> and then minimises XYplorer and assign 'Enter' to it. Not as good as double-click, but does give you a choice

Re: Minimize on double-click
Posted: 17 Dec 2009 21:05
by jacky
If you don't care/use Portable File Associations (PFA), I think you should be able to get this behavior using the following PFA (Tools|Customize File Associations...):
That way, all files will be opened (on dbl-click) using that little script, which simply open the current item (i.e. the one dbl-clicked on) with the Windows associated application, and minimize XY.
Using the Windows association is required here, as otherwise this PFA would call itself, thus sending XY in an infinite loop and to a probable crash. You could of course have other PFAs above this one, but obviously when executed they would not get XY minimized (unless they also have a script ending with #1027; of course).
Re: Minimize on double-click
Posted: 18 Dec 2009 00:38
by jpjnh
Thanks! I used the File Extensions suggestion and it works exactly as I wanted it to.