• 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: Text Box Within Text Box
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text Box Within Text Box


  • Subject: Re: Text Box Within Text Box
  • From: Peter Waibel <email@hidden>
  • Date: Tue, 5 Dec 2006 14:18:59 +0100

Wondering if someone could help me, I am trying to create a text box within a text box in a QuarkXPress document.

I have tried doing it with the following code:

make new text box at end of text box ("Products Description") with properties {name:{"Cat Item " & strCatItem}}

but I get the following error

"QuarkXPress got an error: Can't get page 1 of document 1."

Any suggest would be gratefully received


Hi David,

try something like this:

tell application "QuarkXPress"
tell document 1
tell page 1
set textBox1 to make new text box at end with properties {bounds: {20, 30, 50, 80}}
set textBox2 to make new text box at end with properties {bounds: {10, 10, 20, 20}}
set selected of textBox2 to true
end tell
cut
select text 1 of textBox1
paste
end tell
end tell


Peter
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden
References: 
 >Text Box Within Text Box (From: David Bradley <email@hidden>)

  • Prev by Date: Re: acgi dispatcher problems...
  • Next by Date: Re: acgi dispatcher problems...
  • Previous by thread: Text Box Within Text Box
  • Next by thread: XML question
  • Index(es):
    • Date
    • Thread