Is there a way to call a JavaScript function from an Objective-C method without using a web view? What I want to do is to simulate pressing a link (say Add) on a webpage, whenever an NSButton is pressed. I know which JavaScript function is called, whenever 'Add' is pressed.
I don't have a web view in the app and this is not an iPhone app.