• 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: Why doesn't 'alias' error when the file no longer exists?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why doesn't 'alias' error when the file no longer exists?


  • Subject: Re: Why doesn't 'alias' error when the file no longer exists?
  • From: Bill Cheeseman <email@hidden>
  • Date: Mon, 18 Dec 2000 16:04:49 -0500

on 12/18/00 2:13 PM, Emmanuel at email@hidden wrote:

> At 16:46 +0100 18/12/00, Paul Berkowitz wrote:
>> I always believed that the 'alias' form would error if the file no longer
>> existed on the computer, so I would frequently error trap for it near the
>> beginning of a script
>
> Me too - and I guess we were right with 8.6.
>
> This will certainly induce impredictible behaviors of lots of scripts
> written "` la" 8.6, and I would like to thank warmly Paul for having
> published the bug on this list.

I came in late on this thread, but isn't the correct Finder syntax to get
"alias file"? This errors properly for me:

tell application "Finder" to get alias file "Sucia:dummy"

Or are you talking about something unrelated?

-
Bill Cheeseman, Quechee, Vermont <mailto:email@hidden>

The AppleScript Sourcebook
<http://www.AppleScriptSourcebook.com/>
Vermont Recipes-A Cocoa Cookbook
<http://www.stepwise.com/Articles/VermontRecipes/>


  • Follow-Ups:
    • Re: Why doesn't 'alias' error when the file no longer exists?
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: Why doesn't 'alias' error when the file no longer exists? (From: Emmanuel <email@hidden>)

  • Prev by Date: Fwd: Re: Can someone explain this?
  • Next by Date: Re: Why doesn't 'alias' error when the file no longer exists?
  • Previous by thread: Re: Why doesn't 'alias' error when the file no longer exists?
  • Next by thread: Re: Why doesn't 'alias' error when the file no longer exists?
  • Index(es):
    • Date
    • Thread