2 Replies Latest reply on Jan 29, 2012 6:04 PM by HeulwenM

    Running an InDesign xml saved search from within a javascript?

    HeulwenM

      Hi all,

       

      I have a situation where I'd like to create an Indesign CS5 javascript that loops through both my Grep and Text saved searches and runs the search/replace for any saved searches in the list that start with the word 'Layout'?

       

      Is this possible or do I need to 'hard wire' all search criteria/preferences into the Javascript (rather than call the search/replace preferences from the xml 'saved search' file)?

       

      Many thanks. HJ