• 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: AppleScript 1.6 and Mac OS 8.6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript 1.6 and Mac OS 8.6


  • Subject: Re: AppleScript 1.6 and Mac OS 8.6
  • From: Paul Berkowitz <email@hidden>
  • Date: Mon, 18 Nov 2002 07:35:56 -0800

On 11/18/02 1:29 AM, "Juergen May" <email@hidden> wrote:

> Hmm... strange. Under OS 9.2.2 it compiles fine. Just to check, the event
> code should be <<event ScTlstdD>> - that's a lower case L not a cap i after
> the 'ScT'.
>
> Both my version and your version of the 'choose folder' event compile OMM,
> both inside and outside of a QuarkXPress tell block.
>
>> The error code -1708 [errAEEventNotHandled] means that the AppleEvent was
>> not handled by any handler. In other words, the event could not be
>> understood (and therefore handled) by the application, AS or any Scripting
>> Additions.
>
> Yeah, thanks, I found that code. It makes perfect sense.
>
>> (BTW, the error code you mentioned earlier in this thread, -1762
>> [errOSACantOpenComponent], meant that the script couldn't connect to
>> scripting system with that ID.)
>
> That's the code I _couldn't_ find. Where did you manage to get if from? I
> checked Apple's site and it wasn't there!?
>
>> I doubt it's a good idea to
>> put the 'choose folder' command in an application tell block in the first
>> place - even though it might work.
>
> Um... yes, quite. That was a bit of a basic error wasn't it! I think my best
> plan is to amend the code, re-compile and send it to the person who first
> reported the errors.
>
> I'm still rather puzzled as to why there appear to be two event codes for
> the 'choose folder' command though... Think I'll look into that one too...

You may have a very old osax in your Scripting Additions folder. Before
"Standard Additions" was created (OS 8.1? or 8.5) as a portmanteau set,
there were separate osaxen - some Apple, some 3rd-party - of many of the
same commands. 'choose folder' may have been one of those. I thought they
kept the same raw codes, even for the 3rd-party commands they bought and
incorporated, however. (If you have an old machine, check to see if you
still have a Scripting Additions folder in Extensions folder too.) But it
sounds to me as if you have _another_ 'choose folder' from some other of
osaxen. You could try removing all of them , restarting your computer, and
then start adding them back in, omitting Standard Additions, until you find
the interloper.

One hint - since it's taking precedence, the osax file in Standard Additions
must begin with a character alphabetically higher than "St". It will be near
the bottom of your scripting additions.

--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: AppleScript 1.6 and Mac OS 8.6
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: AppleScript 1.6 and Mac OS 8.6 (From: Juergen May <email@hidden>)

  • Prev by Date: Re: Launch Default Mail App attached the file
  • Next by Date: What is ASLG?
  • Previous by thread: Re: AppleScript 1.6 and Mac OS 8.6
  • Next by thread: Re: AppleScript 1.6 and Mac OS 8.6
  • Index(es):
    • Date
    • Thread