Re: Text Box Within Text Box
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