• 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
AppleWorks 6: how do you set text style?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AppleWorks 6: how do you set text style?


  • Subject: AppleWorks 6: how do you set text style?
  • From: Donald Hall <email@hidden>
  • Date: Fri, 26 Sep 2003 00:15:00 -0600

I am sure this is basic, but I can't seem to figure out how to do it.
I want to select some text in a document and make it bold. Nothing I
have tried works, the dictionary is of not much help, and searching
this list produced nothing useful.

I have had no trouble setting the size of the selection, as in the following:

set theText to "p1" & return & "p2"

tell application "AppleWorks 6"
activate
set theDoc to make new document with data theText
select paragraph 1 of theDoc
tell front document
set size of selection to 14
end tell
end tell

This puts the first paragraph into 14 point text.

How do I make paragraph 1 bold (or any other style for that matter)?

Thanks,

Don

--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
_______________________________________________
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.

  • Follow-Ups:
    • Re: AppleWorks 6: how do you set text style?
      • From: Mr Tea <email@hidden>
  • Prev by Date: Hide Menu Bar while launching
  • Next by Date: Re: AppleWorks 6: how do you set text style?
  • Previous by thread: Re: Hide Menu Bar while launching
  • Next by thread: Re: AppleWorks 6: how do you set text style?
  • Index(es):
    • Date
    • Thread