• 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: Compiled AppleScripts for 'other' languages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiled AppleScripts for 'other' languages


  • Subject: Re: Compiled AppleScripts for 'other' languages
  • From: Brennan <email@hidden>
  • Date: Mon, 23 Jun 2003 21:20:27 +0200

On Sun, 22 Jun 2003 20:29:14 -0700, Christopher Nebel <email@hidden>
wrote:

> > As scripts can be saved in a compiled format I am wondering whether
> > this avoids the need to rewrite the script in French. That is, the
> > script is compiled - converted from English text to Apple Events - and
> > so there is no need to rewrite the script text in French.
>
> For the script code, you're correct, though for the wrong reason.
> AppleScript is AppleScript, no matter where it goes in the world, just
> like Perl is Perl, or whatever. The fact that AppleScript resembles
> English is really sort of incidental. (Of course, you do have to make
> allowances for the environment -- things like the date format vary from
> country to country, and if you're using GUI scripting, all the control
> titles will be different.)
>
> As for messages that you put in your script, those are constant strings
> and will stay exactly as you wrote, so your "display dialog" messages
> (or whatever) will still be in English. Plain AppleScript does not
> have any effective way to deal with this, but AppleScript Studio does
> -- see "localized string".

What about other OSA languages? Last time I toyed with Javascript OSA I
was expecting to be able to code with one syntax, flip a switch and get
the other but... I was expecting too much.

Why is this? Aren't the underlying Apple events the same?

Brennan
_______________________________________________
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.

  • Follow-Ups:
    • Re: Compiled AppleScripts for 'other' languages
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: Get position of item in list
  • Next by Date: Applescript, Panther, and X-Code
  • Previous by thread: Re: Compiled AppleScripts for 'other' languages
  • Next by thread: Re: Compiled AppleScripts for 'other' languages
  • Index(es):
    • Date
    • Thread