Font Select
Hi, i have this problem when i run a scrit and create a style i want to select a otf font but if is pre-select the script run else if i don't pre-select scritp indesign return error:
Font Family request is not avaiable
Hi, i have this problem when i run a scrit and create a style i want to select a otf font but if is pre-select the script run else if i don't pre-select scritp indesign return error:
Font Family request is not avaiable
Can you (at the very least!) show how you select this font? It seems that your command isn't doing anything -- if it only works if you select the font manually but it doesn't if you don't.
Perhaps your initial combination of font and style is not valid? For example, this
app.selection[0].insertionPoints[-1].fontStyle = "65 Bold";
will not work if the selected base font is not Univers. One way to select an entire font plus style is
app.selection[0].insertionPoints[-1].appliedFont = app.fonts.item("Univers LT Std\t65 Bold");-- note the TAB inbetween the font family and style name.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.