Re: Compiled AppleScripts for 'other' languages
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.