Re: KVC with an path, AppleScript and InterfaceBuilder
Re: KVC with an path, AppleScript and InterfaceBuilder
- Subject: Re: KVC with an path, AppleScript and InterfaceBuilder
- From: Matt Neuburg <email@hidden>
- Date: Tue, 24 Jan 2006 11:32:02 -0800
- Thread-topic: KVC with an path, AppleScript and InterfaceBuilder
On Tue, 24 Jan 2006 16:52:29 +0100, Thomas Engelmeier
<email@hidden> said:
>
>Is there any well known magic for the following two tasks:
>- validation - happens usually automatically with min / max values
>for Cocoa UI bindings?
No, I don't think so, and as you'll probably discover, returning a coherent
error message to the AppleScript user is not entirely easy, because the
scriptability framework has its own ideas of what to do when there's a
problem (this is why Cocoa apps tend to put up the annoying and generic
NSReceiverScriptError message - it is very difficult to defeat this).
>- recordability for a KVC application - synthesize AppleEvents to
>self to allow recording?
I don't think so. Can you name a recordable application (other than BBEdit
and the Finder, which are not Cocoa apps)? That should tell you something.
:)
In any case, these sorts of questions are probably best posed on the
AppleScript-Implementors list.
m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden