CreativePro Forum
Join our community of graphic designers, publishers, and production artists from around the world. Our members-only forum is a great place to discuss challenges and find solutions!
- You must be logged in to reply to this topic.Login
How to find Superscript using FindChangeByList?
- This topic has 8 replies, 4 voices, and was last updated 10 years, 9 months ago by .
- You must be logged in to reply to this topic.

I’ve been using RecordFindChange.jsx with FindChangebyList etc. . . for quite a while. But I’ve noticed that RecordFindChange.jsx records the find query, but not all of the formatting specified in the search. I.e. if I want to do a GREP search for superscripted #s and apply a character style, it ignores the “superscript” setting. If I try using the text tab to find the superscripted text, again it ignores the character formatting in the line of script it exports.
It does recognize Underlining (records this as “Undersline: true”) – my guess is that the settings that have checkboxes work but not the ones with mini-dropdown menus. I tried typing “Position:Superscript” and “Superscript:True” in the search field of the script line, but the first crashed the script and the 2nd was ignored.
Anyone know how to include superscripting in scripted find/change? I know I can do this with regular find/change or Multi-find/change but I like FindChangebyList because it’s easier to look at your queries if there is a problem and fine tune them instead of having to re- create them. With Multi-FindChange it's more work to see what each search is doing and you can only view them one at a time by going to the F/C dialog box. I have to run about 30 Find/Change queries at a time on batches of about 100 pages of raw text.
I looked at the javascript Indesign Scripting Reference for Indesign online https://indesignscriptingrefere…..m and see that in the category “Position” ther options are NORMAL, SUPERSCRIPT, SUBSCRIPT etc. . . does this mean I should be able to use these, and do they have to be in all caps?
And, is there any way to tweak the RecordFindChange script so it will include ALL of the formatting attributes?