117 Posted October 10, 2009 Posted October 10, 2009 Hi there i want to assign a key command to open and close my cd tray so far i have ..... ; Open the CD tray on drive E: CDTray("E:", "open")
117 Posted October 10, 2009 Author Posted October 10, 2009 i basicly want to do this when {"esc"}="pressed"=CDTray("f:","open")
Hypertrophy Posted October 11, 2009 Posted October 11, 2009 (edited) If I understand you correctly then you want to open your CD tray when the escape key is pressed. If thats the case then a good approach would be something like this: HotKeySet("{ESC}", "OpenTray") While 1 Wend Func OpenTray() CDTray("F:", "open") EndFunc Hope that helps. Edited October 11, 2009 by Hypertrophy
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now