I'm just getting started with using scripts and although I've read through the tutorials on the InDesign scripting page, I'm still having a problem with my CS3 script. I'm hoping someone here can help me with it.
Firstly, I've been making a script to search for text styles and replace them with character files. I've done fine with bold and italic, but I can seem to get the syntax right for superscript. Here's what I have at the minute: