Connectng an apple script to a button 3.1.3

hey,

noob of course. anyway Im trying to get an apple script to be run from a button. I’ve tried a couple tut’s here but everything Im seeing is in an old version of xcode does anyone have a tutorial that is run with xcode 3.1.3?

Model: macbook pro unibody 2.4ghz
AppleScript: 3.1.3
Browser: Internet Explorer 8.0
Operating System: Mac OS X (10.6)

AppleScript Studio is deprecated in 10.6. It still works fine, but to show the Studio AS Inspector pane in Xcode you need to run the following from Terminal:

defaults write com.apple.InterfaceBuilder3 IBEnableAppleScriptStudioSupport -bool YES