L lynkynpark86 macrumors 6502 Original poster Mar 16, 2010 330 0 Maine, USA, Earth, Solar System, Milky Way, Univer Mar 16, 2010 #1 I want to know how to make an applescript script run when a menu bar item is clicked in an application. Please HELP. Thanks.
I want to know how to make an applescript script run when a menu bar item is clicked in an application. Please HELP. Thanks.
K kainjow Moderator emeritus Jun 15, 2000 7,958 7 Mar 16, 2010 #2 Can you be more specific on what exactly you're trying to do?
L lynkynpark86 macrumors 6502 Original poster Mar 16, 2010 330 0 Maine, USA, Earth, Solar System, Milky Way, Univer Mar 16, 2010 #3 Relpy In an iTunes Remote application I'm making I want a menu item in File or Edit to do this: Code: tell application "iTunes" set the sound volume to 0 end tell so that when they click "File ---> Volume ---> Mute" it will do that script thanks, hope it helps.
Relpy In an iTunes Remote application I'm making I want a menu item in File or Edit to do this: Code: tell application "iTunes" set the sound volume to 0 end tell so that when they click "File ---> Volume ---> Mute" it will do that script thanks, hope it helps.
K kainjow Moderator emeritus Jun 15, 2000 7,958 7 Mar 16, 2010 #4 If you're using Cocoa look at the NSAppleScript class.
L lynkynpark86 macrumors 6502 Original poster Mar 16, 2010 330 0 Maine, USA, Earth, Solar System, Milky Way, Univer Mar 16, 2010 #5 Ok Ok, Thanks!