Jump to content

Some script help


Recommended Posts

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

Link to comment
Share on other sites

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!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Link to comment
Share on other sites

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!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Link to comment
Share on other sites

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!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...