• 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: File best practice questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File best practice questions


  • Subject: Re: File best practice questions
  • From: "Gary (Lists)" <email@hidden>
  • Date: Fri, 14 Mar 2008 20:07:42 -0400
  • Thread-topic: File best practice questions

"Gary (Lists)" wrote:
>
>>> if the alias compiles, the file thingy to which it points
>>> **already** exists.

Shane Stanley wrote:
>> Not in the world of 10.5.x.

"Philip Aker" wrote:
> Can you elaborate?

"Shane Stanley" wrote:
> Sure: In 10.5, aliases are not resolved until run time, as opposed to
> compile time in earlier versions of the OS.

Okay.  I see your semantic point, but that misses my larger point, for the
OP, that if an alias, when it's actually called upon in the script, must be
to an existing object.

On your specific point, I can't get a "bad alias" to compile, OMM (x.5.2)

Anyway, for purposes of running a script,  'alias "..."' must exist. (And
that's completely logical for what an alias is!)

But, it's fine, in my opinion, to allow code that uses 'alias "..."' to
*compile* but still fail at *execute* if it's not there.  A developer should
be able to write a script, intended for another end user (who does have such
alias).

--
Gary


 _______________________________________________
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

  • Follow-Ups:
    • Re: File best practice questions
      • From: Shane Stanley <email@hidden>
References: 
 >Re: File best practice questions (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: File best practice questions
  • Next by Date: Re: File best practice questions
  • Previous by thread: Re: File best practice questions
  • Next by thread: Re: File best practice questions
  • Index(es):
    • Date
    • Thread