Login

How to get the NSRange of Selected Text in NSTextField

Integrating Objective-C code into an AppleScriptObjC application is incredibly easy. In this example, I use an Objective-C helper class to retrieve the NSRange of the selected text in an NSTextField. If you have any questions about the code, post them in the comments.

icon Selected Range of NSTextField (2.23 MB)

Add comment


Security code
Refresh

 

Product Categories