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: Kai Edwards <email@hidden>
- Date: Sun, 17 Nov 2002 15:40:16 +0000
on Sat, 16 Nov 2002 16:34:12 +0000, email@hidden wrote:
>
I guess what I don't understand is why the 'choose folder' command
>
appears not to work using AS 1.3.7 and SA 1.3.7 under OS 8.6!?
I can't currently test AS 1.3.7/OS 8.6, Juerg - although I've been able to
test either side of that (AS 1.1.2/OS 8.1 & AS 1.5.5/OS 9.1). In either
case, the 'choose folder' command works quite happily.
>
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?)
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.
(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.)
>
Should I just resign myself to the fact that my script won't run using
>
versions less than 1.6? If so, I'll simply add a version check to the
>
start of the script.
My guess is that something else is going wrong. 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. Have you tried a simpler script on the
target machine - such as just the line 'choose folder'? If that doesn't
work, it might be worth checking for a corrupted file (Standard Additions,
perhaps?) - and replacing it with a clean copy.
HTH.
Kai
--
email@hidden
email@hidden
_______________________________________________
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.