• 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: Mount Point to Alias
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Mount Point to Alias (From: Luther Fuller <email@hidden>)
 >Re: Mount Point to Alias (From: Luther Fuller <email@hidden>)
 >Re: Mount Point to Alias (From: Peter Baxter <email@hidden>)

  • Prev by Date: Toggle Parental controls
  • Next by Date: Re: Mount Point to Alias
  • Previous by thread: Re: Mount Point to Alias
  • Next by thread: Re: Mount Point to Alias
  • Index(es):
    • Date
    • Thread