I posted this earlier but thought I would reword it. I have a script in Quark 6 that changes psuedo fonts like optima that has the italic button clicked on it to the actual font optima italic. This works well with bold also. But when I get to psuedo bold italic it quits working. Does anyone know if there is a way to get it to read this? Here is part of the script.
tell (characters whose style contains bold)
set font to “Optima Bold”
set style to plain
end tell
end try
try
tell (characters whose style contains italic)
set font to “Optima Italic”
set style to plain
end tell
end try
try
tell (characters whose (style contains bold) and (style contains italic))
set font to “Optima BoldItalic”
set style to plain
end tell
end try
or some combination like this. If that doesn’t work you can set a test file with the type of text you want to change and do a simple script as such:
tell application "QuarkExpress dada"
activate
get properties of text frame 1 -- I don't know how Quark references text here
end tell
Something like this perhaps. Then look in the script event log to see if there is a particular way that type of text is referenced. I use this all the time when I’m having problems with things like this in Illustrator. Maybe this will help.