QuarkXPress: Script crashes: why?
QuarkXPress: Script crashes: why?
- Subject: QuarkXPress: Script crashes: why?
- From: Michael Turner <email@hidden>
- Date: Fri, 16 Feb 2001 14:48:40 -0500
QuarkXPress: Script crashes: why?
The following snip crashes my Quark:
tell application "QuarkXPress 4.1"
activate
try
set first character of text of story 1 of text box
"FredTheBox" of current spread
to "<ELEMENT=" & elementString & "a" & ">" &
return & first character of text of
story 1 of text box "FredTheBox" of current spread
set last character of text of story 1 of text box "FredTheBox"
of current spread
to last character of text of story 1 of text box "FredTheBox"
of current spread & addString
on error
display dialog "Script Broke!"
end try
end tell
-- error crashes QuarkX, I don't get the "Script Broke!" message
What did _I_ do?
-Michael