• 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: Simple text formatting in Quark6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple text formatting in Quark6


  • Subject: Re: Simple text formatting in Quark6
  • From: Luca BASSINI <email@hidden>
  • Date: Fri, 19 Nov 2004 21:00:24 +0100

On 19/nov/04, at 13:20, Steve Foster wrote:

Thanks Luca, that is good but I now need to be able to format specicic elements in a text block. For
example line 1 to be one font of one size and line 2 to be a different font of a different size!
therefore (I think) I need to write a line then format that line, then write the next and format the next
etc.
No! you can write all the text and then setting different properties for different paragraph...
for example:


set story 1 to "Help" & return & "Me!"
set properties of paragraph 1 of story 1 to {size:18, font:"UB Frutiger UltraBlack"}
set properties of paragraph 2 of story 1 to {size:24, font:"Helvetica"}


ciao
luca


Any ideas!?

thanks

Steve


Ciao change your setting line in this way:

set text of story 1 to "Help"
set properties of text of story 1 to {size:18, font:"UB Frutiger UltraBlack"}


also pay attention to name of the font (the one I wrote is good for me...)

Luca

On 18/nov/04, at 18:45, Steve Foster wrote:

Hi

I thought I had got this sorted but Iit does not work!!

Can anyone tell me where I am going wrong??!!

My code is:

tell application "QuarkXPress"
activate
tell document 1

set text of story 1 to "Help" with properties {size:18, font:"Frutiger UltraBlack"}


end tell

end tell
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden



--
Luca Bassini
Co-founder and AppleScript GURU
Emerasoft - "Desktop Publishing for the rest of us"
http://www.emerasoft.com
corso Siracusa, 25 - 10136 Torino
Cell +39 320 6553814 Fax +39 011 3710371

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Simple text formatting in Quark6
      • From: Steve Foster <email@hidden>
References: 
 >Re: Simple text formatting in Quark6 (From: "Steve Foster" <email@hidden>)

  • Prev by Date: Script won't open from Dock
  • Next by Date: Re: Deleting last item of a List
  • Previous by thread: Re: Simple text formatting in Quark6
  • Next by thread: Re: Simple text formatting in Quark6
  • Index(es):
    • Date
    • Thread