I tried code.
SD! did not work with English mode and Japanese mode.
applescript-A
----------------
set A to (user locale of (system info)) as string
------------
I trid this applescript-A with English mode and Japanese mode.
For the result, both were "ja_JP".
applescript-B
---------
set B to characters 1 thru 2 of (user locale of (system info)) as string
---------
I trid this applescript-B with English mode and Japanese mode.
For the result, both were "j/a".
It is a /(slash) without knowing why.
It may be the problem of a ScriptEditor.app.
|