View Full Version : How do I make a GUI in a Cocoa-AppleScript Application?

Shake 'n' Bake
Dec 16, 2009, 02:25 PM
I want to make an AppleScript app with a GUI in Xcode. I try a Cocoa-AppleScript app, but I don't get what to do, especially in Interface builder. I just want to launch the script with a button, but I can't figure it out.

In the previous Xcode, I could just make the whole thing AppleScript, but now there's all sorts other things to deal with.

I'm using the latest version of Xcode and Interface Builder on Snow Leopard.

Any help would be great.

Dec 16, 2009, 03:55 PM

AppleScriptObjC obsoletes AppleScript Studio, which is deprecated as of Mac OS X v10.6. Developers using AppleScript Studio should migrate to AppleScriptObjC, and should start new projects using AppleScriptObjC exclusively. AppleScript Studio development is still supported, but functions for creating new projects have been removed, and the AppleScript Studio palette in Interface Builder has been hidden. To re-enable it, use this command in Terminal, and then re-launch Interface Builder:

defaults write com.apple.InterfaceBuilder3 IBEnableAppleScriptStudioSupport -bool YES

Shake 'n' Bake
Dec 16, 2009, 05:01 PM
So if I have to learn Cocoa, why don't I just use that?

I might make a small partition on my hard drive just for Leopard to get AppleScript Studio back.