• 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: Finding a volume name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding a volume name


  • Subject: Re: Finding a volume name
  • From: Kai Edwards <email@hidden>
  • Date: Mon, 02 Dec 2002 09:40:48 +0000

on Mon, 02 Dec 2002 13:56:51 +0800, Matthew Healey <email@hidden>
wrote:

> I need to retrieve the name of an AppleShare volume currently on the desktop
> (MacOS 9.2.2). I know the volume ends in "Files", but my script doesn't know
> the start of the name.
>
> Is there any way that I can easily do a wildcard search for the complete
> volume name?

Try this, Matthew:

==================

tell application "Finder" to get disks's name whose name ends with "Files"

==================

(To handle a no-match, you could put that in a try block.)

Kai

--
email@hidden
email@hidden
_______________________________________________
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: Finding a volume name
      • From: Kai Edwards <email@hidden>
  • Prev by Date: [solution] Quicktime Broadcaster Auto-start streaming
  • Next by Date: Re: Finding a volume name
  • Previous by thread: Re: Finding a volume name
  • Next by thread: Re: Finding a volume name
  • Index(es):
    • Date
    • Thread