PDA

View Full Version : XCode button click -> Apple script




satyam90
Apr 17, 2008, 06:18 AM
Hi, I have a nib with a window which has a few text fields and a button. On clicking that button some apple script must be executed taking the fields details as input. I created a simple apple script and added to the project. For this purpose, in button's (in IB) inspector, under Apple script -> Actions->Clicked, I selected my apple script which was showing under "Script". Its compiling well. But when I am running, it is going into debug mode inspite of compling in Release mode. Its stopping at NSRaiseError.

How to solve this?