AppleWorks 6: how do you set text style?
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.