Reading the system highlight color

How can I read the current system highlight color?

I don’t know how to get it using standard applescript, but you can get it from the NSColor class in the cocoa APIs.

tell application "Automator Runner"
	set systemHighlightColor to call method "selectedTextBackgroundColor" of class "NSColor"
end tell

Thanks- I’ll play with that and see if I can make it work for me.