AW: Referring to the local hard drive
AW: Referring to the local hard drive
- Subject: AW: Referring to the local hard drive
- From: "Hoelzer, Manfred" <email@hidden>
- Date: Fri, 19 Jan 2001 11:02:16 +0100
Hello Steve,
just try:
set MyLocalDisks to every disk whose local volume is true
--> (disk1, disk2,...)
If you try ... "is false" you get your mounted net-volumes, however, if
there are none you get an empty list.
set MyLocalDisks to id of every disk whose local volume is true
--> (-1, -2,...) as Richard 23rd already mentioned
If you try ... "is false" you get your net-volumes, however, if there are
none you get an error!!! (AS 1.3.7).
>
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.