• 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 & Applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quark & Applescript


  • Subject: Re: Quark & Applescript
  • From: Shane Stanley <email@hidden>
  • Date: Wed, 08 Nov 2000 08:17:48 +1100

On 8/11/00 7:55 AM +1000, gonzalo, email@hidden, wrote:

> Is there any possibility to extrac of Quark Text box, just the visible
> text, with applescript ??.

Sure:

tell application "QuarkXPress 4.11"
tell document 1
set x to object reference of (text box 1 whose selected is true)
set y to offset of character -1 of line -1 of x
save text from character 1 to character (y + 1) of x in "Macintosh HD:Some
text"
end tell
end tell

--
Shane Stanley, email@hidden


  • Follow-Ups:
    • Re: Quark & Applescript
      • From: Hans Haesler <email@hidden>
  • Prev by Date: Re: Apple system profiler
  • Next by Date: yellow alert box
  • Previous by thread: Re: Simple scripting problem?
  • Next by thread: Re: Quark & Applescript
  • Index(es):
    • Date
    • Thread