Re: Referring to the local hard drive
Re: Referring to the local hard drive
- Subject: Re: Referring to the local hard drive
- From: Richard 23 <email@hidden>
- Date: Wed, 3 Jan 2001 21:19:59 -0800
>
Message: 14
>
Date: Wed, 03 Jan 2001 09:18:41 -0500
>
From: "Stephen Gross" <email@hidden>
>
Organization: Stuart Country Day School
>
To: email@hidden
>
Subject: Referring to the local hard drive
>
>
Is there a way to refer to the local hard drive without specifying its
>
name? I
>
want to write an applescript that can be run on multiple machines, but the
>
names
>
of their hard drives differ.
>
>
Thanks!
>
--Steve
As far as I can tell mounted volumes are assigned ids starting at -1
and they go down from there.
tell application "Finder" to return id of disks
{-1, -2, -3}
R23