Re: QuarkXPress: Script crashes: why?
Re: QuarkXPress: Script crashes: why?
- Subject: Re: QuarkXPress: Script crashes: why?
- From: Michael Turner <email@hidden>
- Date: Fri, 16 Feb 2001 17:35:58 -0500
Shane--
Thank you. I do believe this lead me to the fix. Better organization allowed
me to see the logical situation.
I haven't been nesting 'tells' deeper than the document level. I will now.
-Michael
>
From: Shane Stanley <email@hidden>
>
Subject: Re: QuarkXPress: Script crashes: why?
>
>
I don't know exactly why it crashed, but you're doing too much work there.
>
Try something like this:
>
>
set elementString to ""
>
tell application "QuarkXPress 4.11"
>
tell document 1
>
tell text box "FredTheBox" of current spread
>
set before story 1 to "<ELEMENT=" & elementString & "a" & ">" & return
>
set after story 1 to "Bit at the end"
>
end tell
>
end tell
>
end tell
>
>
--
>
Shane Stanley, email@hidden