• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: putting a partition away in OSX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: putting a partition away in OSX


  • Subject: Re: putting a partition away in OSX
  • From: Paul Berkowitz <email@hidden>
  • Date: Tue, 06 Aug 2002 22:31:37 -0700

On 8/6/02 10:14 PM, "Matthew Smith" <email@hidden> wrote:

> 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

Did you try that with a partition, Matthew? Partitions are non-ejectable
disks, so you get an error that 'the file "disk_name is open'. I also don't
see any 'unmount' counterpart to the 'mount volume' Standard Addition. You
also can't set visible of a disk to false. So I don't see any way to do it.

--
Paul Berkowitz
_______________________________________________
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.

  • Follow-Ups:
    • Re: putting a partition away in OSX
      • From: Matthew Smith <email@hidden>
References: 
 >Re: putting a partition away in OSX (From: Matthew Smith <email@hidden>)

  • Prev by Date: Re: putting a partition away in OSX
  • Next by Date: RE: Scripting Acrobat? [PDF -> JPG files]
  • Previous by thread: Re: putting a partition away in OSX
  • Next by thread: Re: putting a partition away in OSX
  • Index(es):
    • Date
    • Thread