1 Reply Latest reply on Aug 5, 2008 7:21 AM by jhuddle123

    Applescript/ IC CS3 / how to direct an action to the current story

      I am writing a script to chain a series of find/changes. I want the routine to run only to the current story, and don't know the syntax. Here's a piece of the script applied to the entire document:

      set find what of find grep preferences to "~b~b+"
      set change to of change grep preferences to "
      tell document 1
      set myFoundItems1 to change grep
      end tell

      How can I get this to run on just the current story?

      Any help will be appreciated!