This content has been marked as final. Show 4 replies
You can find these by looking at the properties of the FindPreferences object in the JS reference.
Thanks again for the fast response. I misspoke in my question: I was using "JSFindChangeList", not the AppleScript version. The JS version does actually use the "applied character style" term, with lowercase and spaces. Just a heads-up.
At any rate, the string you supplied works like a charm, thank you. I printed out the properties you pointed out in the JS reference and will refer to those in the future.
Peter's book really is quite good, and, in my opinion, well worth the cover price.
In addition, for CS3, I was able to significantly expand the tutorial matter in the Scripting Tutorial and Scripting Guide (which is now all example scripts, rather than being a monumental reference PDF)--you should also take a look at those, as almost all of the scripts will work with CS2. All of the scripts referred to in the Scripting Guide can be downloaded (as a single archive) on the InDesign scripting home page referred to at the top of this forum. (Don't try to copy/paste the scripts out of the PDF--most of them are only fragments of complete scripts stored in the archive.)
You might want to start with the "Working with Text" chapter in the Scripting Guide--I tried to cover the most common things people might want to do with text.
If you wanted to try working with AppleScript, Shirley Hopkins has a book available (try Amazon) that's also good. And the AppleScript Pro seminars presented by Scripting Matters (that's Shane Stanley and Ray Robertson) are great once you've gone beyond the "raw beginner" stage (http://www.scriptingmatters.com).
This forum is also a great resource! Don't hesitate to ask questions.
Thanks for the wealth of info. I bought Peter's book; it looks very good. I pulled the tutorials and guides you mentioned above from my CS3 disc and will be using those going forward. Interesting you mention Shirley; I met her at Shane & Ray's Monterey Applescript sessions in 2002 (unfortunately, I was in the "raw beginner" stage you mentioned, and most of the session went over my head).