Page 1 of 1
Usb drive inserted and opened in new tab
Posted: 24 Jan 2016 17:33
by eil
is there some way to achieve this?: when usb drive or sd-card inserted, new tab opened with it. kinda like in explorer when upon insertion window appears proposing to do something.
Re: Usb drive inserted and opened in new tab
Posted: 24 Jan 2016 18:19
by highend
There are no custom event actions in XY so no, not from inside XY. What you could do:
Use e.g. USBDLM and configure it to invoke XYplorer with a /script command and /flg=2...
Re: Usb drive inserted and opened in new tab
Posted: 24 Jan 2016 19:03
by klownboy
Hi eil, highend got me on to USBDLM a few years ago and I've been using it since. It's in very active development, light on resources, and works very well in conjunction with XYplorer to do exactly what you want. The author, Uwe Sieber also has a few other excellent drive utilities like Removedrive and RestartSrDev which can be used to trigger the removal of a external drive as well as restart a drive that you "removed" but have not physically removed which comes in handy once in a while. There are a number of decent threads that you can refer to, just search USBDLM. I have scripts written that work in conjunction with the 3 utilities to do exactly what you requested and also the other things mentioned. If you're interested I can PM the scripts to you. I really don't want to post here unless there might be more interest.
Re: Usb drive inserted and opened in new tab
Posted: 25 Jan 2016 10:50
by eil
thank you for answers!
@klownboy, i appreciate your proposal but have to say no for the moment= USBDLM seem for me to be rather un-portable which is not good for me. but maybe i'll reconsider after and write you later.
Re: Usb drive inserted and opened in new tab
Posted: 25 Jan 2016 10:54
by highend
USBDLM needs a driver to be installed so you can't use it on locked down machines.
Alternative: Write an .ahk script that polls for new removable devices and sends a script to XY which displays them (via goto)...
Re: Usb drive inserted and opened in new tab
Posted: 27 Jan 2016 04:11
by highend