• 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: Mac OS X: AppleScript incorrectly decompiling tell blocks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac OS X: AppleScript incorrectly decompiling tell blocks


  • Subject: Re: Mac OS X: AppleScript incorrectly decompiling tell blocks
  • From: Chris Nebel <email@hidden>
  • Date: Sun, 18 Nov 2001 19:16:27 -0800
  • Organization: Apple Computer, Inc.

Mark Alldritt wrote:

> I'm finding that Mac OS X is rewriting my tell blocks with I open scripts.
> Any script that contains:
>
> tell application "Script Debugger"
> -- blah blah...
> end tell
>
> Becomes
>
> tell application "AEServer"
> -- blah blah
> end tell
>
> Has anyone else run into problems like this. Is there a cure. I can't seem
> to understand what AppleScript is up to here.

This is (probably) a known bug in AppleScript 1.6 vs. program linking in Mac OS
X 10.1. AEServer, which handles remote event routing on X, has no signature
and AppleScript 1.6 doesn't cope well with that, so if AEServer is running
(i.e., you have Allow Remote Apple Events turned on in X), all your scripts in
Classic, which has AppleScript 1.6, will decompile as 'tell application
"AEServer"'. The solution for now is to turn remote events off; the better
solution is to upgrade Classic to AppleScript 1.7 once it's available. (1.7b2
is available to ADC members now.)

That said, if you're seeing this not in Classic, then I don't know about the
problem, and you should send me some more details!


--Chris Nebel
AppleScript Engineering


  • Follow-Ups:
    • Re: Mac OS X: AppleScript incorrectly decompiling tell blocks
      • From: Mark Alldritt <email@hidden>
References: 
 >Mac OS X: AppleScript incorrectly decompiling tell blocks (From: Mark Alldritt <email@hidden>)

  • Prev by Date: Open/Close Unscriptable Apps?
  • Next by Date: Re: Mac OS X: AppleScript incorrectly decompiling tell blocks
  • Previous by thread: Re: Mac OS X: AppleScript incorrectly decompiling tell blocks
  • Next by thread: Re: Mac OS X: AppleScript incorrectly decompiling tell blocks
  • Index(es):
    • Date
    • Thread