You are not logged in.
I think there is one major attraction to becoming a Mac developer: making a tangible contribution to the platform we know and love. But I'm not just talking about the sense of community, of 'giving back'. I'm talking specifically about the glory associated with all that is designed and produced by Apple.
I liken this to, say, a fan's need to be closer to his/her favorite celebrity. However, in the case of a Mac developer, the passion and admiration runs deeper. We like to see ourselves as amateur astronomers in the shadow of Buzz Aldrin or apprentices in the studio of abstract expressionist Wassily Kandinsky or pop artist Roy Lichtenstein.
In some small way, we're helping Apple change the world. With the introduction of AppleScript Studio*, scripters aren't just spectators to this movement anymore. As such, I've put together some frequently asked questions and useful tips I've picked up while getting my proverbial feet wet with these powerful new tools.
Tip #1 - Realize that the "title" of a widget in Interface Builder is *not* the same as its "name". I've often seen problem posted to the AStudio list which end up going back to accidental mis-referencing. This confusion can be particularly frustrating if you are using an if/then construct to make decisions based on which menu item is chosen by the user. (See Figure 1) Figures 2 and 3 show the locations of the name and title properties in Interface Builder's Info panel**.
** NOTE: First, not all IB widgets have "title" properties. The above just applies to those that do. Second, if your application sets "title" properties of widgets dynamically, you'll need to keep this in mind when referencing them within your code.
T.J.
tj@tjmahaffey.com
Offline