I need to localize my menus and I'm currently using the standard menuPick
Code: Select all
on menuPick pItemName
switch pItemName
case "Settings"
go to card "Settings"
break
case "LogOut"
logoutRequest
break
case "Exit"
exitRequest
break
default
break
end switch
end menuPick
I want to determine the line number of the menu that was picked instead of the text of the menu.
I know I've seen this somewhere but cannot find it and it is probably quite simple.
Thanks for the help.
dcpbarrington