Copy link to clipboard
Copied
Hi,
So I have a script containing this:
function retire_arabe() {
app.findTextPreferences = app.changeTextPreferences = null;
app.findTextPreferences.appliedLanguage = "Arabic";
app.changeTextPreferences.appliedLanguage = "French: Canadian";
app.activeDocument.changeText();
}
The problem is that the script needs to be used by me and one of my employee. I am using english InDesign, and she is using french InDesign. The script is not working on her software because the languages names are different (Arabic = Arabe / French: Canadian = Français: Canadien). Is there any way that the script can be usable for both of us through some if/else, or do I really have to make two different scripts?
Thanks!
Try "$ID/Arabic" and "$ID/French: Canadian"
P.
Copy link to clipboard
Copied
Try "$ID/Arabic" and "$ID/French: Canadian"
P.