Jump to content

Recommended Posts

Posted

Hi All

Need some help with a script my cd eject button stoped working today and to eject the cd i have to go to explorer and right eject this is a bit of a pain in the butt. Dell said they will be out to fix this in two weeks as the pc has a two year fix at home on it. I cant wait two weeks or should i say cant be going to explorer ever time to eject the cd so a script that i can compile as an exe file would be good.

Rick :D

Posted (edited)

A simple CDTray("D:", "open") should do the trick.

Of course for "D:" fill in your drive and "open" can be replaced with "closed".

Alzo

Edited by marfdaman

Don't take my pic to serious...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~You Looked, but you did not see!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Posted

Do you have the Scite-editor? If so, go to "Tools" and choose "Compile". If you don't, download it from the autoit site.

Alzo

Don't take my pic to serious...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~You Looked, but you did not see!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Posted

That's most likely because you haven't saved the file yet as an .au3 file. As soon as you do that, the whole list will show up (I hope?).

Don't take my pic to serious...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~You Looked, but you did not see!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Posted

YWC :D

Don't take my pic to serious...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~You Looked, but you did not see!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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...