2 Replies Latest reply on Aug 7, 2013 9:38 AM by NYJack

    S&R script no longer works (in ID 6.0) as it did in previous versions

    NYJack

      This S&R script no longer works (in ID 6.0) as it did in previous versions. Can you help me by correcting it?

       

      app.findTextPreferences = app.changeTextPreferences = null;

      app.findChangeTextOptions.properties = { 

      includeLockedStoriesForFind:false, 

      includeLockedLayersForFind:false, 

      includeHiddenLayers:false, 

      includeMasterPages:false, 

      includeFootnotes:false, 

      wholeWord:false, 

      caseSensitive:false };

      app.findTextPreferences.findWhat = "Jack & the Beanstalk";

      app.changeTextPreferences.changeTo = "Mary Poppins";

      app.changeText();