Jump to content
Sign in to follow this  

Question about registering a request to unplug a flashdrive

Recommended Posts


Is there a way I could make a script that pops up when the user tries to clicks the "Remove this drive". I realize that you can't stop the user from unplugging the drive, but if I could get the user's input if they try to remove it the official way that would be what I want.

This is just a guess but if I leave a process running from the drive it will keep show the message box saying "Device can't be removed." Does that trigger an event that could be captured?

I do not want to use a loop with WinExists().

My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.