• 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
AW: Referring to the local hard drive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: variables
  • Next by Date: RE: variables
  • Previous by thread: Re: Variables
  • Next by thread: More Faceless apps
  • Index(es):
    • Date
    • Thread