sorry for the newbie question - how do i get it to work with a hotkey?
i added this code after the eject.ahk but nothing happened:
Code: Select all
^!u::
DriveGet, List, List, REMOVABLE
StringReplace, List, List, A
Drv := SubStr( List,1,1 ) . ":"
Eject(Drv)
Return