How could we set up maybe the menu so that on unplug (yeah, that's right, no silly Safely Remove) the whole menu closes every single app that was running off the flash drive (I think this is one of the few high points of U3)?
I know I've tried it before, without much luck (checking every 10 seconds to see if a file exists isn't exactly good usage of memory). I'll give a prize to whomever can come up with a proof of concept :P.
I already have this working in test and will debut soon.
BUT - Unplugging unsafely is exceedingly DUMB and will cause errors in anything that was being written to the drive at the time, possibly corrupting or killing your whole drive.
So it'll be better to click EJECT in the menu (which will gracefully close down all your apps and then eject the drive).
Sometimes, the impossible can become possible, if you're awesome!
LOL!
Is this also working in test? I don't think it works right now . . . .
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
I'm using EjectUSB for the eject function. It works wonderfully. On occasion it did try to close some other apps, but it still does the job for me, and does it well. It even lets you blacklist and whitelist which programs to close. It's written in AHK.
That, and the eject thing is indeed pretty dumb, but laziness is stronger than stupidity :P.
Insert original signature here with Greasemonkey Script.
John, this may be an exceptionally dumb question... but if you happen to be running PA.c from a directory on your host OS drive, and manage to hit that "eject" button, will it try to eject the drive on which your OS is resident? Or do you have some safety mechanism in place to prevent that sort of accident?
- M.
It depends. It will not if it's running from the drive where your local windows directory or program files directory lives.
Sometimes, the impossible can become possible, if you're awesome!
Should be good then. On my system it is running from C:\PortableApps, so both C:\Windows and C:\Program Files should prevent such accidents.
Really helpful, considerintg sometimes drives flash off for a brief second.
I also had one idiot unplug my External Hardrive for fun when I had 4 apps up. He then asked if he could do it again. -_-
I hate idiots like him.
Simplifying daily life through technology