2 Replies Latest reply on Sep 22, 2008 4:11 AM by (Schedule_Boy)

    Find Grep in changed from 5.00 to 5.03? (AS)

      Hello,

      Can someone please tell me what I'm doing wrong. This script worked in CS3 v5.00 but now I have tried it in 5.03 and as you can see below it doesn't find anything. I'm using grep to search inside a table for the word "voy" which as you can see from the last line, IS in the table.

      tell application "Adobe InDesign CS3"
      set find grep preferences to nothing
      set change grep preferences to nothing
      set include footnotes of find change grep options to false
      set include hidden layers of find change grep options to false
      set include locked layers for find of find change grep options to false
      set include locked stories for find of find change grep options to false
      set include master pages of find change grep options to false
      set find what of find grep preferences to "(?i)voy"

      find grep row 2 of table id 30958 of text frame id 30954 of page id 30551 of master spread id 30508 of document "Untitled-7"
      {}

      get contents of row 2 of table id 30958 of text frame id 30954 of page id 30551 of master spread id 30508 of document "Untitled-7"
      {"vessel", "voy", "eta", "etd", "eta"}
      end tell