Quark 4.11 and Character spec?

Somebody smack me and tell me what the heck I am doing wrong. I’m using Quark 4.11 in a OS X/Classic format. I have a script that inserts a letter and a tab and I want to style that letter using an existing character spec (character style sheet) in the document. But I can’t seem to get “set character spec” to work with anything.

I even created a one paragraph document and tried to create and apply a character spec to the third word, some characters, the line, but that wouldn’t work either.

What’s the trick…anyone? Bueller?

This should work. Try it is a two-step process as sometimes you need to set the character spec for the selected character to null first – the equivalent of holding down option + clicking the style sheet name in the palette if you’re doing it by hand.


set character spec of character 1 of paragraph 1 of story 1 of text box 4 of page 2 of document 1 to null

set character style of character 1 of paragraph 1 of story 1 of text box 4 of page 2 of document 1 to "name of character style sheet"