3 Replies Latest reply on May 1, 2009 2:07 PM by Dave Saunders

    How to reset FindGrepPreferences


      I have a quite large scripting app that was first developed for CS2. The CS3 and CS4 object models have changed enough to discourage me from trying to support multiple CS versions in a single app. The solution has been to drive CS3 and CS4 in CS2 mode (ScriptPreferences.Version = 4).


      This has worked well with one exception. If a user has performed a grep search, the scripting app's text or style search fails unless the user removes the grep search from the find/replace dialog.


      How can a script reset FindGrepPreferences when it does not appear in the CS2 object model?


      Any ideas anyone? Thanks,