• 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
scripting font change in TextEdit / NoteTaker, etc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scripting font change in TextEdit / NoteTaker, etc


  • Subject: scripting font change in TextEdit / NoteTaker, etc
  • From: Michael Cytrynowicz <email@hidden>
  • Date: Sun, 18 Jul 2004 20:02:30 +0200

Hi list,

I thought it would be pretty trivial, but I can't figure how to do it.
What I need to do is in TextEdit - and alsi in Notetaker - to be able to
change the font of selected text to, say, verdana 10.

In NoteTaker, likewise, I need to be able to select some entries and
change them all to say, Georgia 14.

I can select text in both apps, or select entries in NoteTaker using
applescript, but I can't for the life of me figure how to change the
font. Seems inaccessible.

Exploring both dictionaries showed that there is a property font of the
fist char in a given run (so is it an rtf thing?)

I tried finding a service that would do that - nope.
I tried GUI scripting - and I can't figure how (and if) it is possible
to target Cocoa Fonts panel with UI Browser. Apparently not.

What am I missing here? All I need is to change the font from a to b
!!!!????


Confounded,


Mike
_______________________________________________
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.


  • Prev by Date: Re: Avoiding repetition
  • Next by Date: Scripting with two windows in BBEdit
  • Previous by thread: Re: Long Filenames >31 error -37
  • Next by thread: Re: scripting font change in TextEdit / NoteTaker, etc
  • Index(es):
    • Date
    • Thread