use-revolution digest, Vol 1 #380 - 12 msgs
sarahr at genesearch.com.au
Thu Jul 4 22:43:01 EDT 2002
Here is an AppleScript to eject every removable disk:
tell application "Finder"
set diskList to every disk whose ejectable = true
repeat with d in diskList
put it in a custom property and then in your Rev script say:
do cAppleScriptProp as AppleScript
This is tested under OS X but should work under 9 as well. Sorry, I
don;t know how to open an empty tray :-(
On Friday, July 5, 2002, at 05:18 AM, DropBox ForSpam wrote:
> I asked this a few days ago, with no response. I hope
> it just got missed rather then there being no solution
> (which I can't believe, really)
> How can I Eject a CD under Mac OS X from within a
> stack? I know Finder has an entry in its AppleScript
> dictionary for "Eject", but I am completely
> AppleScript impaired!
> Bonus points for being able to open and close an empty
> try too.
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the Use-livecode