• 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
RE: Quark: copying across text boxes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Quark: copying across text boxes


  • Subject: RE: Quark: copying across text boxes
  • From: "Stockly, Ed" <email@hidden>
  • Date: Tue, 4 Dec 2001 15:21:40 -0800

>>>If there's a document that flows a story from one text box to another, how do you copy the entire story in which the insertion point is placed?

Try this:

tell application "QuarkXPress(tm)"
tell current box of document 1
set myStory to the object reference of story 1
end tell
copy the text of myStory to theCopy
end tell

>>>>I *almost* have the hang of this.

Yes, you are very close, the major difference between your version and mine is that I've moved the copy command outside the tell current box block. When it's inside that block the scope of the command is confined to the target of the tell. Ideally this command would give you only the text of the current box and none of the rest of the story. Instead, with Quark's inconsistencies, it gives you everything from the beginning of the story to the last character in the current box.



HTH

ES


  • Prev by Date: Re: interesting discovery (trying to get record labels as strings)
  • Next by Date: "An unknown error has occurred" ID = -48
  • Previous by thread: Quark: copying across text boxes
  • Next by thread: Re: interesting discovery (trying to get record labels as strings)
  • Index(es):
    • Date
    • Thread