After a bunch of people couldn’t figure out how to do this from the documentation, I just decided to zip up a script and put it on my webspace.
It has the autoIt script (.au3 file) and the actual file to run and open the CD tray (.exe). Let me know if this works for you – utharvey@gmail.com
and this program does not make you a hacker.
https://webspace.utexas.edu/xythoswfs/webui/_xy-19372263_docstore1
Dec 20, 2006, 07:20PM PST | 2 comments
Hey Yall,
If you want to do anything like open a CD drive or other cool stuff with a computer, use a program called AutoIT!!
http://www.autoitscript.com/autoit3/
AutoIt can:
Provide a general-purpose scripting language for all Windows versions
Simulate keystrokes (supports most keyboard layouts)
Simulate mouse movements and clicks
Move, resize and manipulate windows
Interact directly with “controls” on a window (set/get text from edit controls, check boxes and radio buttons, select items in drop-down lists, etc.)
Create complex user interfaces (GUIs)
Work with the clipboard to cut/paste text items
Provide a scriptable RunAs function for Windows 2000/XP/2003
its so sweet. email me at utharvey@gmail.com if you have questions – I’m never on 43things anymore.
—-——edit
::after getting a few emails about more description on how to do this, here’s some more info:
Go here in the documentation to see how to do it: http://www.autoitscript.com/autoit3/docs/functions/CDTray.htm
Its literally just one line. The tricky part will be getting your friend to run an exe. Use that CD thing as a starting point to jump in with auto it – its amazing! The documentation is better than any “real” language out there and you can get up to speed really quickly.
but you can still email me if you have questions utharvey at gmail dot com
Dec 14, 2006, 10:44AM PST | 2 cheers | 1 comment