Re: Need to set cursor at end of text
Re: Need to set cursor at end of text
- Subject: Re: Need to set cursor at end of text
- From: Ron <email@hidden>
- Date: Mon, 26 Jan 2015 23:46:58 -0600
Brian, You have to get the field editor for the textfield. You get it from the Window the field is in, and it is an NSText object, which DOES have a setSelectedRange selector. On Jan 26, 2015, at 10:29 PM, Brian Christmas < email@hidden> wrote: G’day scripters
This is supposed to be simple, I need to set the cursor to the end of the text of a field, but the recommended method is failing, with an ‘Unrecognised selector’ error, on line p=5, sender's setSelectedRange:textRange.
|
_______________________________________________
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