Re: Inheritance and Loaded Libraries (solved)
Re: Inheritance and Loaded Libraries (solved)
- Subject: Re: Inheritance and Loaded Libraries (solved)
- From: Axel Luttgens <email@hidden>
- Date: Thu, 04 Nov 2004 16:04:07 +0100
has wrote:
Axel Luttgens wrote:
c() of application "ScriptServer"
Through a quick test, I get here an error message that goes as
"b of a doesn't understand message c"
This doesn't seem to reflect the above (c() of application
"ScriptServer").
The error message is incorrect.
Hmm... hence my footnote :-)
The applet returns an error number (-1708) to indicate the event
wasn't handled. The error message is generated by the AppleScript
runtime itself, based on the error code returned and the code that
triggered it, and this happens upstream from where the problem occurs.
Like I say, this stuff is broken, so don't take anything for granted.
You can verify this yourself by enabling AEDebug [1] and looking at
Console.app to see what really gets sent to the app when 'c() of b of
a of application "ScriptServer"' is executed. You'll notice it has no
'subj' attribute, which is where the 'b of a' reference ought to
appear. Compare with executing 'tell b of a of application
"ScriptServer" to c()', which at least generates the correct Apple event.
has
[1] There's a drag-n-drop applet on my site that can do this for you.
Thanks a lot.
I'll have a look.
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden