Setting leading in Quark 5
Setting leading in Quark 5
- Subject: Setting leading in Quark 5
- From: Dan Kabbes <email@hidden>
- Date: Fri, 03 Oct 2003 15:38:04 -0400
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? Any guidance would be greatly
appreciated. Thank you
Dan
--
_______________________________________________
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.