Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to change the background color of part of texts?



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.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.