Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Shake 'n' Bake

macrumors 68020
Original poster
Mar 2, 2009
2,186
2
Albany
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.
 
http://developer.apple.com/Mac/libr...ptingAutomation/RN-AppleScriptObjC/index.html

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
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.