Re: AppleScript 1.6 and Mac OS 8.6
Re: AppleScript 1.6 and Mac OS 8.6
- Subject: Re: AppleScript 1.6 and Mac OS 8.6
- From: Juergen May <email@hidden>
- Date: Mon, 18 Nov 2002 09:29:15 +0000
Hi Kai,
>
I can't currently test AS 1.3.7/OS 8.6, Juerg...
No worries. Unfortunately I'm not able to either hence the reason I posted
here...
>
> The error raised is -1708 - ...application QuarkXPress doesn't
>
> understand the <<event ScTIstdD>> message. This event code is Standard
>
> Additions' choose folder command.
>
That's not the case OMM. Here, the event code for 'choose folder' is <<event
>
sysostfl>>, so I'm curious how 'choose folder' could be interpreted as
>
<<event ScTIstdD>>. (I can't even get <<event ScTIstdD>> to compile here.
>
Does it compile in a QuarkXPress tell block - and, if so, to what?)
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...
Thanks very much for your help, Kai.
Juerg
_______________________________________________
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.