• 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: Can someone explain this?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can someone explain this?


  • Subject: Re: Can someone explain this?
  • From: Chris Nebel <email@hidden>
  • Date: Sun, 17 Dec 2000 13:22:00 -0800
  • Organization: Apple Computer, Inc.

Paul Berkowitz wrote:

> Have you noticed before that when you
> use the booleans true and false after a property (as usually defined in a
> dictionary) , AppleScript compiles them to the English-like 'with' and
> 'without' followed by the property? So I think what's happening here is that
> AS is understanding this as a so
>
> Set2be [unknown event] to [boolean parameter of the event] true
>
> compiling to:
>
> Set2be [unknown event] with to
>
> which, as you say, errors in execution. Interestingly, it says "<<script>>
> doesn't understand the Set2be message" rather than "undefined variable", so
> I think that shows it thinks that 'Set2be' is supposed to be an event, not a
> variable, due to the boolean parameter syntax.
>
> Anyone?

Exactly correct, Paul.

--Chris Nebel
AppleScript Engineering


References: 
 >Re: Can someone explain this? (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: applescript-users digest, Vol 2 #141 - 12 msgs
  • Next by Date: scripting netscape 4.76
  • Previous by thread: Re: Can someone explain this?
  • Next by thread: Re: Can someone explain this?
  • Index(es):
    • Date
    • Thread