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

ios - iPhone/iPad different view orientations in different views , and apple approval process -

monitor web browser programmatically in Android? -

c# - Using multiple datasets in RDLC -