How to get current text hiliteColor in Linux?
warren at warrensweb.us
Tue Feb 1 16:33:25 CST 2011
On Tue, 2011-02-01 at 11:53 -0800, Jim Lambert wrote:
> Richard wrote:
> > Currently the LiveCode engine uses the Windows hiliteColor when
> > selecting text, ignoring whatever highlight color may be in use by the
> > current theme.
> > Is there a shell query I can run to determine the current text highlight
> > color?
> There probably is a shell query, but if there isn't, you might possibly programmatically select some text on a white background then use mouseColor to sniff out the hiliteColor.
> Or pixelColorAt(x,y), if we ever get it! ;)
> Jim Lambert
It probably will depend on what desktop environment the user is running,
but try searching GConf and gconftool. This may turn up your answer for
Gnome. I would also ask in Linux forums, where you will probably have
better luck getting a definitive answer or set of answers. (But if you
find out, please share - it's ugly hyperlink blue here in Mint!)
More information about the use-livecode