Re: textShouldEndEditing or textDidEndEditing
Re: textShouldEndEditing or textDidEndEditing
- Subject: Re: textShouldEndEditing or textDidEndEditing
- From: Shane Stanley <email@hidden>
- Date: Tue, 11 Jan 2011 08:59:00 +1100
- Thread-topic: textShouldEndEditing or textDidEndEditing
On 11/1/11 8:29 AM, "Deivy Petrescu" <email@hidden> wrote:
> This posting causes the receiverĀ¹s delegate to receive
> a controlTextDidEndEditing: message.
So this is the key sentence. Make your script a delegate of the text field,
and implement the controlTextDidEndEditing: method, something like this:
on controlTextDidEndEditing_(notif)
log notif's object()'s stringValue()
end controlTextDidEndEditing_
--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden