Ok, i upgraded to 10.6 and i’m not sure that was a good idea now.
I’m trying to label a popup button and am getting an error when i try to label it. I’m following the tutorial here.http://macscripter.net/viewtopic.php?id=24751 But when i run this code
on awake from nib theObject
tell window 1
set title of button "F2Go" to "F2..Go"
tell menu of popup button "Popup"
delete every menu item
make new menu item at end of menu items with properties {title:"911"}
make new menu item at end of menu items with properties {title:"Pictures"}
end tell
display dialog "Popup's value is" & (title of current menu item)
end tell
I get the following error. “Can’t make <> of <> of window 1 into type Unicode text. (-1700)”
If i take out the display dialog the error changes to simply -1708. Thoughts?