Strange menu TAG problem OS X

Klaus on-rev klaus at major.on-rev.com
Tue Aug 30 11:46:13 EDT 2011


Hi Bob,

Am 30.08.2011 um 17:37 schrieb Bob Sneidar:

> Seems stupid for me to say, but I'd check that the actual name of the about stack really is about and not uber.
> You may have simple made the display name "about", but the actual stack name is "uber". 

Nope! :-)

> Bob
> 
> 
> On Aug 30, 2011, at 5:14 AM, Klaus on-rev wrote:
> 
>> Hi friends,
>> 
>> toady I encounteed a very strange problem with my help menu  on OSX
>> LC 4.6.3, OS X Lion
>> 
>> The content of the menu, the "labels" are correctly generated "on the fly" 
>> according to the current OS language:
>>> Hilfe/H|help
>>> -
>>> Registrieren.../|register
>>> -
>>> Nach Updates suchen.../|search4update
>>> -
>>> Über/|about
>> 
>> 
>> Script as usual:
>>> on menuPick pItemName
>>> switch pItemName
>>>    case "search4update"
>>>      ## Stuff...
>>>       break 
>>>    case "register"
>>>       ## more stuff here
>>>       break
>>>    case "help"
>>>       ## help stuff
>>>       break
>>>    case "about"
>>>       go stack "about"
>>>       break
>>> end switch
>>> end menuPick
>> 
>> 
>> The "about" stack was added today by me, but picking the menu
>> "about" did not work!? No stack "about"!?
>> 
>> All other menuitems work as exspected.
>> 
>> Debugging showed me that the "pItemName" was NOT "about" as exspected
>> but "Über"???, so the stack did not show until I added this:
>> ...
>> case "about"
>> case "über"
>> ...
>> 
>> What gives? It should be "about" in any case, right?
>> That's what these new menu "tags" are made for!
>> 
>> Do I need to catch AppleEvents for the "App menu" stuff?
>> 
>> Any hints very appreciated.

Best

Klaus
--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com





More information about the Use-livecode mailing list