Re: search and replace question
Re: search and replace question
- Subject: Re: search and replace question
- From: Shane Stanley <email@hidden>
- Date: Fri, 18 Jan 2002 09:14:35 +1100
On 18/1/02 8:50 AM +1000, Elmer Banate, email@hidden, wrote:
>
I'm trying to replace the word "Common" in every
>
master pages, but when I run my script I'm
>
encountering this error message "QuarkXPress 4.11 got
>
an error: every story of master spread of document 1
>
doesn't understand the searchReplace message."
>
<snip>
>
searchReplace(search_string, replace_string)
That should be:
my searchReplace(search_string, replace_string)
You need to use "my" or "of me" when you call a subroutine inside a tell
block.
But I'm still not convinced it will work -- scripting master pages has
always proved disastrous for me.
--
Shane Stanley, email@hidden