• 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
how to change the background color of part of texts?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to change the background color of part of texts?


  • Subject: how to change the background color of part of texts?
  • From: fortepianissimo <email@hidden>
  • Date: Sat, 29 Nov 2003 22:25:50 -0800 (PST)

Could someone show me how to change the background color of part of
text, inside a text view?

Ok to be more specific, here is the code:

set textRef to a reference to (text of text view "editor" of scroll
view "editor" of window of theObject)
set color of word 1 of textRef to {65535, 65535, 65535}

but I can't do

set background color of word 1 of textRef to {0, 0, 65535}

for example.


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.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.

  • Prev by Date: Re: Specify identically named ejectable disk
  • Next by Date: Re: Internet Connect & Airport
  • Previous by thread: Re: Internet Connect & Airport
  • Next by thread: list disks on Panther
  • Index(es):
    • Date
    • Thread