• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
QuarkXPress: Script crashes: why?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: QuarkXPress: Script crashes: why?
      • From: Shane Stanley <email@hidden>
    • Re: QuarkXPress: Script crashes: why?
      • From: Hans Haesler <email@hidden>
  • Prev by Date: Re: Admin: a suggestion on the script corruption problem.
  • Next by Date: XPress: color spec manipulation
  • Previous by thread: Whither Subwoofer?
  • Next by thread: Re: QuarkXPress: Script crashes: why?
  • Index(es):
    • Date
    • Thread