Mime-Version: |
1.0 (Apple Message framework v624) |
Content-Type: |
text/plain; charset=US-ASCII; format=flowed |
Date: |
Wed, 17 Jan 2007 07:50:02 -0500 |
Reply-To: |
|
Subject: |
|
From: |
|
In-Reply-To: |
|
Content-Transfer-Encoding: |
7bit |
Sender: |
|
Parts/Attachments: |
|
|
ok, it is not so shocking knowing the application.
I am in the process of moving to Quark 6.5 ( I know it is a couple of
versions old) from v3 and v4. It runs on the Intel machines where v3 or
v4 do not.
While testing my scripts, I noticed that in versions 3 and 4 if two
text boxes on the page had the same name, both would be filled in.
In 6.5, it is only the top most text box that gets populated.
If I take and manually select the other box and bring it to the top,
and rerun the script, that text box gets the text.
Is there a way to get both filled in without changing one of the names?
tell application "QuarkXpress"
tell document "test.qxd"
set paragraph 1 of text box "sample.txt" to "hello world"
end tell
end tell
I have all the code in a script library that allows me to pass in the
layout name, paragraph, text box name and the text. If I need to start
to jump through hoops to handle this, then I need to know what to test
for to catch the 2+ text boxes with the same names.
Thanks
Lloyd Butler
Manager of Product Execution
The Weather Network
|
|
|