• 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: Error on make new alias on afp mounted volume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error on make new alias on afp mounted volume


  • Subject: Re: Error on make new alias on afp mounted volume
  • From: Ed Stockly <email@hidden>
  • Date: Sat, 21 Jun 2008 13:38:56 -0700


On Jun 21, 2008, at 11:17 AM, Jim Skibbie wrote:


I’m trying to make a Finder alias (not an Applescript alias) to a folder on an afp mounted volume and then label the desktop alias red (label index = 2). The weird thing is that sometimes this script works and sometimes I get an error when trying to set the label index value.

Do I have some syntax wrong? I don’t understand how it can work some of the time and other times fail.



I couldn't get your version to fail on my mac, but I'd try this anyway...

set NewAliasFolder to make new alias file at ((folder "Desktop" of home) as alias) to (x) with properties {name:"new alias folder"}

You are creating an alias file. Your script may be confusing the finder or appleScript which sees an alias as one thing and an alias file as something else. Your version probably shouldn't work, but AppleScript is trying to be forgiving.

HTH,

ES=
_______________________________________________
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: 
 >Error on make new alias on afp mounted volume (From: Jim Skibbie <email@hidden>)

  • Prev by Date: Re:Display Dialog
  • Next by Date: Re: Error on make new alias on afp mounted volume
  • Previous by thread: Error on make new alias on afp mounted volume
  • Next by thread: Re: Error on make new alias on afp mounted volume
  • Index(es):
    • Date
    • Thread