In xcode 4.x I want to be able to click a button and have an applescript run, how do I do this?
Brighten your iPad with a colorful cover, stream to your TV, download pictures from your digital camera, and more. There’s already so much you can do with iPad and iPad mini
The incredibly thin Apple Wireless Keyboard uses Bluetooth technology, which makes it compatible with iPad
iPad inspires creativity and hands-on learning with features you won’t find in any other educational tool
Apple announces 4th generation iPad packing an A6X CPU
In xcode 4.x I want to be able to click a button and have an applescript run, how do I do this?
Is this an AppleScriptObjC or Objective-C project? If the former, you can use regular AppleScript statements and/or call handlers in other script files, if the latter you can use the NSAppleScript class or add an AppleScriptObjC class.
If you are talking about connecting a button to your code, create an action handler/method (if it has the correct signature it will appear inn the Interface Editor), and connect it to the button, for example:
In xcode 4.x I want to be able to click a button and have an applescript run, how do I do this?