3 Replies Latest reply on Aug 21, 2009 3:15 AM by Chloe_aw

    Grep find/change script character issue

    Chloe_aw

      Hi,

      I'm trying to change the FindChangeList.txt on the supplied javascript in indesign cs4 to allow me to automate some grep commands but one is causing me an issue: within indeisgn if i use the find/change tool it works fine, but on the script it doesnt.

       

      what i am trying to change is all instances of + (plus) within a document to ± but it seems like the script is reading it as 'nothing plus more nothing' , how do i get it to recognise the + as a symbol not as a command?

       

      the line i am currently using in my code is this:

      grep    {findWhat:"+"}    {changeTo:"±"}    {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}

       

      Thanks