• 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 4.11: Finding the containing text box.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quark 4.11: Finding the containing text box.


  • Subject: Re: Quark 4.11: Finding the containing text box.
  • From: John Fountain <email@hidden>
  • Date: Tue, 12 Nov 2002 13:09:29 -0500

Thanks... This makes about as much sense as any other object reference in Quark, i guess.

-john

On Monday, November 11, 2002, at 07:20 PM, email@hidden wrote:

This shows the box which contains the selection:
---
tell document 1 of application "QuarkXPress 4.11"
show text box 1 of selection
end tell
---

And this returns the object reference of the same box:
---
tell document 1 of application "QuarkXPress 4.11"
set objRef to object reference of text box 1 of selection
end tell
---

And this returns the page number (if the box is sitting on
a page, else: an error message):
---
tell document 1 of application "QuarkXPress 4.11"
set pageNumber to name of page 1 of text box 1 of selection
end tell
---

Note the "1" in 'text box 1' and 'page 1'. This works, even
if the selection is, e.g., in text box 4 on page 3.

Hans Haesler <email@hidden>
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: FYI: Quark and RagTime
  • Next by Date: Re: GraphicConverter & saving files in new places
  • Previous by thread: Re: Quark 4.11: Finding the containing text box.
  • Next by thread: Computer name via CGI script
  • Index(es):
    • Date
    • Thread