Re: Setting leading in Quark 5
Re: Setting leading in Quark 5
- Subject: Re: Setting leading in Quark 5
- From: Hans Haesler <email@hidden>
- Date: Sat, 4 Oct 2003 10:18:41 +0200
On Fri, 03 Oct 2003, Dan Kabbes 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.
Dan,
address the paragraph, then it works:
---
set boxNum to 1
set custName to "Mike Smith"
tell document 1 of application "QuarkXPress 5.01"
activate
tell spread 1
tell text box boxNum
set properties of paragraph 1 to {contents:custName, size:12, font:"Times New Roman", leading:20}
end tell
end tell
end tell
---
BTW, you don't need to add 'as real' and 'as text' when you define
the variables. The '1' is an integer (as it is expected for 'text box 1')
and the name of the customer is surrounded by quotes, i.e. it is text.
---
Hans Haesler <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.