Re: Put Away vs. Eject
Re: Put Away vs. Eject
- Subject: Re: Put Away vs. Eject
- From: John Delacour <email@hidden>
- Date: Thu, 21 Nov 2002 10:15:48 +0000
- Mac-eudora-version: 5.3a9
At 8:16 pm +1300 21/11/02, David Hood wrote:
tell application "Finder"
try
eject "Course Files"
on error
put away disk "Course Files"
end try
end tell
While it works, it's ugly, does anyone have a better way for
disposing of a remote volume that'll work in both 9 and 10.
It's fine, but you could compile it in OS 10 also if you used the raw code
tell app "Finder"
try
<<event fndrptwy>> "ZIP_100" -- replace <<>> with the real thing
on error
<<event fndrejct>> "ZIP_100"
end
end
-- JD
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.