• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: uh, that's so cool! AS 1.9.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: uh, that's so cool! AS 1.9.1


  • Subject: Re: uh, that's so cool! AS 1.9.1
  • From: Mike Fischer <email@hidden>
  • Date: Fri, 20 Dec 2002 22:55:56 +0100

Hi Paul,

Am Freitag, 20.12.02 um 21:35 Uhr schrieb Paul Skinner <email@hidden>:

http://www.apple.com/applescript/GUI/

Sounds like a cool feature!


(* EXECUTE MENU ITEM *)
-- replace with the target application name, the menu name, and the menu item name

if my do_menu("Finder", "Finder", "Hide Others") is false then error
number -128
if my do_menu("Finder", "View", "Clean Up") is false then error number
-128

I admit I haven't installed 10.2.3 or the new developer tools yet and I haven't yet looked at any documentation for this but one question immediatly comes to my mind:

How are localized names handled?

For example would I have to write:

if my do_menu("Finder", "Finder", "Andere ausblenden") is false then error number -128
if my do_menu("Finder", "Darstellung", "Aufrdumen") is false then error number -128

on a German system?

Or is there a general way to access the UI-Elements without localizing the strings in the AppleScript?

Localizing the strings in the AS would be possible using a bundled AppleScript Studio application of course but it seems like a waste to have to recreate information already present in the bundled target app in the script application.

Am I asking too much? Or am I missing something?

Mike
--
Mike Fischer Softwareentwicklung, EDV-Beratung
Schulung, Vertrieb
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: uh, that's so cool! AS 1.9.1
  • Next by Date: Re: Big Problem
  • Previous by thread: Re: uh, that's so cool! AS 1.9.1
  • Next by thread: Re: uh, that's so cool! AS 1.9.1
  • Index(es):
    • Date
    • Thread