character scripting help

Here is my situation. I have built a script to change a psuedo font such as italic to the actual font. I have also included bold. But I can’t do a psuedo bold italic. The script runs perfect except for the bold italic.

Does anyone have any suggestions???

Dalegray,

What program are you doing this in and what is the code?

PreTech

I’m not sur if this is what you are asking for but the app is Quark 6 and part of my script follows:

try
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