Jump to content


Recommended Posts

  • 3 months later...

i need an script that remove my usb stick by closing thes program by the "close" button


as best with a winwaituntilyoupushtheclosebutton order

then use the "hardware reliably remove" function



well the 'winwaituntilyoupushtheclosebutton' function could be like this...

func winwaituntilyoupushtheclosebutton()
while NOT WinExists("I'm some portion of the title of the window we want to wait for to disappear.  replace me","")
DriveMapDel( "H:" );this may work?


must have had my helmet on too tight, first code was all retarded... i think i fixed it...

Edited by cameronsdad
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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...