osx - How to fake a click on an NSTextField? -


i have nstextfield. i'd programmatically invoke mouse click on it. possible?

i know can make field first responder, i'd know if fake click can used achieve same effect.

if want, can make own mouse event , pass -[nsapplication sendevent:].

but, really. use -[nswindow makefirstresponder:].


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -