Last week, I went through a tutorial that outlined how to create
a very simple AppleScript Studio application. I went through the
basics of using Project Builder and Interface Builder, how to
set up a preliminary project and interface, and how to get text
to display in a dialog and in a text field, all through the
language of AppleScript. This week, I’m going to get a little
more detailed into one of the most important topics of
AppleScript Studio: referring to objects. In going through this
tutorial, you’ll learn how to refer to and manipulate various
objects like buttons, text fields, and other standard interface
objects so that you can create your application with an
interface that is best tailored for the features that you want
to implement. 1. If you haven’t already done so, create a new
project, and open up the “MainMenu.nib” file. (Remember that to
do so, you must first have the “Files” tab selected. Then, click
the disclosure triangle next to the Resources folder that is
under the Groups & Files list