Re: Setting leading in Quark 5
Re: Setting leading in Quark 5
- Subject: Re: Setting leading in Quark 5
- From: Shane Stanley <email@hidden>
- Date: Sat, 04 Oct 2003 08:41:00 +1000
On 4/10/03 5:38 AM +1000, Dan Kabbes, email@hidden, wrote:
>
I have a script in Quark 5 that inserts text at the beginning of a
>
paragraph. I am having difficulty setting the leading for that paragraph.
>
Every other property of the paragraph in the script is working fine. It only
>
fails when I add the property for "leading". In this script, the document
>
that is open already has an empty text box.
>
>
set boxNum to 1 as real
>
set custName to "Mike Smith" as text
>
tell application "QuarkXPress 5.01"
>
activate
>
make new text at beginning of paragraph 1 of text box (boxNum) of spread
>
1 of document 1 with properties {contents:custName, size:12, font:"Times New
>
Roman", leading:20}
>
end tell
>
>
I have also tried identifying the leading as:
>
20
>
20p
>
20 p
>
20 pt
>
And these values surrounded by quotes.
>
Can anyone see what I am doing wrong?
Leading is a property of paragraphs, not text.
--
Shane Stanley, 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.