Re: Finding a volume name
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.