Dan
Dan

Reputation: 955

Cocoa application not responding to 'activate' applescript event

I am developing a Cocoa application using Xamarin.Mac. The application compiles and runs well, however, when I attempt to launch it via AppleScript, the launch always fails due to a timeout error. (The application itself is quite small. It typically launches in less than 2 or 3 seconds)

-- I'm assuming that there is something wrong with my application that is preventing it from responding to the 'activate' event when it is not running. However, I don't know where to go to debug it. (There are no entries in the console log indicating a problem, and a logging event in the "Main" function doesn't log anything, making me believe that my application isn't being launched)

Any ideas on where I can look to figure out what's going on?

Upvotes: 0

Views: 481

Answers (1)

McUsr
McUsr

Reputation: 1409

A shot in the dark: try using the keyword launch instead of activate.

Upvotes: 0

Related Questions