Re: putting a partition away in OSX
Re: putting a partition away in OSX
- Subject: Re: putting a partition away in OSX
- From: Matthew Smith <email@hidden>
- Date: Wed, 07 Aug 2002 15:14:12 +1000
on 07/08/2002 14:51, email@hidden at email@hidden wrote:
>
I have been using a simple script in OS 9 in the Startup Items folder
>
which put away an OSX partition. It went as follows:
>
>
tell application "Finder"
>
activate
>
if disk "disk_name" exists then (select disk "disk_name") put away
>
asking (false)
>
end tell
>
>
I would like to use this type of script in OSX to put away the OS 9
>
partition but cannot seem to locate the correct syntax for OSX. Is this
>
possible? I am still very green with applescript so please go easy on me.
Try:
tell application "Finder"
if disk "disk_name" exists then eject disk "disk_name"
end tell
--
Matthew Smith
_______________________________________________
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.