ok so here is my code…why isn’t it working?
on choose menu item theObject
if the name of theObject is equal to menu item "cntrl_pp" of menu "cntrl_main" then
using terms from application "iTunes"
tell application "iTunes"
playpause
end tell
end using terms from
end if
end choose menu item