Hi all
Ive been looking for a way of displaying a message to remind me to unplug my portable drive when I logoff. I know from the numerous messages all over the web that i am not alone in this quest!
Ive had an idea, its not quite there yet but it may bear some fruit!
Create a new web page, edit it so the html reads something like this:-
Check Portable drive<...end of="" code="">
Save the page to your portable drive. If you load the page, it should make itself very small (it does), then move so its actually off your screen (it doesnt at the mo!)
OK, so if you open the page from your portable drive, it will open then move out of the way. When you go to eject your portable drive, the web page will close and display a reminder telling you to unplug your drive.
If you get the page to load automatically when you open your portable drive and you have just about cracked it!
Its not working yet, but do you clever peops think the idea has any chance of working?
You need to put a <code>.
Anyway, it's not feasible with anything like HTML or JavaScript.
I think you'll have to make a batch file that you click to log off, that tells you to unplug your USB first.
Insert original signature here with Greasemonkey Script.
here is something that could help if your only going to use your usb on your computer or an admin computer.
Put that in a notepad, save it as "Usb remider.vbs" without the quotes then save it to or copy it to "C:\WINDOWS\System32\GroupPolicy\User\Scripts\Logoff" this is for windows Xp.
Then go to run, then type in "gpedit.msc" hit enter
In User Configuration -> Windows Settings -> Logoff, press the Add Script button and select the Usb reminder.vbs file.
Now if you want to use this on more than one computer you could make a batch file to delete the script, but im sure somebody knows an easier way. Hope this helps, it will popup when you logoff the computer.
An eye for an eye makes the whole world blind.
Mahatma Gandhi,
Indian political and spiritual leader (1869 - 1948)
digitxp's title looks weird. did u end the code? typing this responce the font is different.
Na na na, come on!
Is there any way to add something to the 'X' button or the Exit of Portableapps menu that will either remind you or maybe even eject the device auto-magically (of course you would need a setting to turn this on)?
It is called ejectscript, search for it on this forum...
If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report
It took me a little bit to find it but I did...
https://portableapps.com/node/7993