10-21-2009, 08:10 AM #1
newbie question on XCode 3.2: how to populate pop up buttons/link to applescript
- Member Since
- Sep 20, 2009
I am trying to write my first applescript app using XCode 3.2. I started out trying to follow a demo which used Applescript Studio but then found that there were no event handlers showing in my version of XCode, so I decided to upgrade to the latest version, only to find that Applescript Studio has been discontinued under Snow Leopard.
So I started again using XCode 3.2 with a Cocoa_AppleScript App, but have been unable to find a straightforward tutorial to help me with what I want to do, probably because it only came out with Snow Leopard which hasn't been around very long.
The app I want to create is a simple window with four pop up buttons, which will trigger sections of a script that will append certain text to the comments field of the track playing in iTunes, each separate item in each pop up menu will add specific text.
So far I have created the window with the four pop up buttons, and I have designed a script to add text to the comments, which I am aware I will need to enter under [project name]AppDelegate.applescript. So the two main tasks remaining are to populate the pop up menus for each button, and then to link each item in these menus to specific sections of the applescript so that each item just adds its corresponding text to the comments field.
I would be grateful for any help in steering me in the right direction, whether this is help with my actual project or pointing me in the direction of a helpful tutorial
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By jdmckay in forum Web Design and HostingReplies: 5Last Post: 12-16-2012, 05:31 PM
By jdmckay in forum OS X - Operating SystemReplies: 0Last Post: 12-15-2012, 05:42 PM
By nick_harambee in forum OS X - Development and DarwinReplies: 0Last Post: 09-30-2010, 09:26 AM
By wollsmosh in forum OS X - Development and DarwinReplies: 2Last Post: 04-21-2009, 07:32 PM
By quariguasi in forum OS X - Development and DarwinReplies: 1Last Post: 02-12-2009, 04:14 AM