• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting leading in Quark 5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Setting leading in Quark 5 (From: Dan Kabbes <email@hidden>)

  • Prev by Date: Re: Change the Position of an disk icon on the desktop
  • Next by Date: Switching on Access for Assistive Devices from an installer
  • Previous by thread: Re: Setting leading in Quark 5
  • Next by thread: folder action
  • Index(es):
    • Date
    • Thread