I have a “Choose Menu Item” handler selected for my popup button, and the menu item. Yet no matter what I do, I get an “NSReceiverEvaluationScriptError: 3 (1)”. This seems to be because theres an action attached to the menu item, yet to reciever for the action. The problem is, I have the item named (in IB), and use
on choose menu item theobject if the name of theobject = "menuitem" then display dialog hello" end if end choose menu item
But it just doesn’t work.
It’s driving me mad, as to why this doesn’t work. I’ve used Popup buttons many times before to get “preferences”, but never to get an action. (someone choosing it) Can anyone tell me what I’m doing wrong?