Applescript GREP limit scope?
Is there a way to tell GREP to limit its change scope to the current page? By default, it seems to change the entire document. I only want it to search and change the current page. I tried telling the current page to change grep but that generates an error. The current page does not know what change grep is.
set find what of find grep preferences to "stuff to find"
set change to of change grep preferences to "stuff to replace"
change grep
