Copy link to clipboard
Copied
Hi,
in my CS3 VB Script there is a a statement:
myParaStyle.KerningMethod = "Optical"
this code runs unter CS3 with English and German version of InDesign unchanged.
Now, with CS4, InDesign wants as parameter the strings "Optical" for Englissh, and "Optisch" for the German version.
How do I find out the language, InDesign is runnung?
P.S. Why is the parameter implementet as string and not as Identifier?
Thanks
Erwin
Copy link to clipboard
Copied
In JS you can use a locale-independent string:
myParaStyle.kerningMethod = "$ID/Optical"
Maybe it will work in VB...
@+
Marc
http://www.indiscripts.com
Copy link to clipboard
Copied
Dear Marc,
thank you for your quick response.
Yes, that is exact also working in VB.
Regerds
Erwin