Re: Mount Point to Alias
Re: Mount Point to Alias
- Subject: Re: Mount Point to Alias
- From: "Mark J. Reed" <email@hidden>
- Date: Wed, 12 Aug 2009 15:03:44 -0400
On Wed, Aug 12, 2009 at 2:40 PM, Peter Baxter<email@hidden> wrote:
> Here is a simple script that uses an alias to find a disk.
> set myAlias to ""
> set mylist to (list disks)
> repeat with i in mylist
> if i contains "Disk1" then
> set myAlias to i
> end if
> end repeat
OMM that returns a reference to the list item; "set myAlias to i as
alias" solves that.
And of course this is yet another example of a place it would be nice
if "whose"/"where" worked.
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden