Single Liner script for Language
Hi,
I am looking for a single liner script to find the applied language in a document.
I am tring this:
app.activeDocument.pages.item(0).textFrames.item(0).parentStory='Farsi'
For some reason this script is not working and it is not giving any error also.
Actually its part of a script where I have to specify the option for find and replace a text only if it is in a specifig language. So I have to use this snippet of single liner as an argument in that script.
Link to the script
http://kasyan.ho.ua/indesign/2019/find_replace/find_replace.html
