Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Non english Menus' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Non english Menus
Authored by: juanfal on Sep 28, '06 12:05:58PM

Its a pity that this really generic and clever function fails with non english menus.



[ Reply to This | # ]
Non english Menus
Authored by: osxpounder on Sep 28, '06 01:03:22PM

I haven't seen a non-English OSX menu, but I'm thinking that, if it's like menus I saw in German PCs years ago, the position of the menu item doesn't change ... only its name changes.

Which might not be any help to know, but, *if* you can write a script that finds menu items to click by some index of their position on the menu, you might be able to craft a script that doesn't care what language the menu itself uses.

What do you think? Is it possible? Crazy?



[ Reply to This | # ]
Non english Menus
Authored by: FG on Sep 28, '06 01:08:32PM

Are you sureĀ ? I just used it with Pages and french menus, and it worked perfectly.
I pasted the code in Script Editor then added these two linesĀ :

tell application "Pages" to activate
menu_click({"Pages", "Insertion", "Note de bas de page"})

And it worked (it inserts a footnote).

FG



[ Reply to This | # ]