I am using Xcode and Interface Builder. My Xcode project is based off the Applescript template. I have a button in interface builder. I want
tell application "Terminal"
activate
do script "list" in fro开发者_开发知识库nt window
end tell
to run when the button is clicked. Btw it's Xcode 3.2.4
It seems like you need some basic tutorials to learn this. It's not something that can be explained easily. I found one here but you should search there because I know there's more tutorials.
精彩评论