Copy link to clipboard
Copied
Hi All ,
I need jsx support to enable - Preference - > Type -> Show Indic Option . Is there a way to do it ?
Thanks in Advance !!
Copy link to clipboard
Copied
In Illustrator, you can change some of the application preferences using ExtendScript commands. Unfortunately, some of them take effect only after you restart Illustrator. Show Indic Option is one of them; after you change it in the script, it won't show up in the preferences until you restart Illustrator.
Copy link to clipboard
Copied
You should be able to do this by combining answers to questions you have asked in the past.
Copy link to clipboard
Copied
If you're on Windows, you could try a temporary VBS script to send keystrokes to the preferences window.
var temp;
{
interactWithDialog();
app.executeMenuCommand("keyboardPref");
}
function interactWithDialog() {
var contents =
'Set WshShell = WScript.CreateObject("WScript.Shell")\n' +
'WshShell.SendKeys "{TAB}"\n' +
'WshShell.SendKeys "{TAB}"\n' +
'WshShell.SendKeys "{TAB}"\n' +
'WshShell.SendKeys "{TAB}"\n' +
'WshShell.SendKeys "{ }"\n' +
'WshShell.SendKeys "{ENTER}"';
temp = new File("~/Desktop/temp.vbs");
temp.open("w");
temp.write(contents);
temp.close();
temp.execute();
}
temp.remove();