Conditional highlighting for a complete line
Hello
I searched the forum and elsewhere on the internet, no answer. However...
How can conditional highlighting be used for a complete line in Numbers?
null-OTHER, OS X El Capitan (10.11.6), Numbers
Apple Event: May 7th at 7 am PT
Hello
I searched the forum and elsewhere on the internet, no answer. However...
How can conditional highlighting be used for a complete line in Numbers?
null-OTHER, OS X El Capitan (10.11.6), Numbers
Marc-Andr St-Pierre wrote:
sethighlightColor1to {65535, 65535, 2713} --"yellow"
set highlightColor2 to {0, 0, 65416} -- "blue"
Where can we find the numbers for these color codes?
One way to get the color code is to first color the fill of a cell to your liking.
Then to get the code for the color in the cell, select the cell, and run the script below. The result will be in the 'Result' pane of Script Editor. You can copy-paste it from there to another script, or whatever.
SG
--get background color of a Numbers cell (if none returns 'missing value')
tell application "Numbers" to tell front document
set t to active sheet'stable 1 whose selection range'sclass is range
set bkgrRgb to t'sselection range'scell 1's background color
--> e.g. {64720, 17976, 19514}
end tell
Mr SG
I was right, you are a champion. I would have liked to know this script before.
I want to ask a question on this forum about these scripts to allow others to find these answers. What do you think?
Yes, it would be nice. Maybe someone else has a better way or there is something new in Numbers I am not aware of.
It works perfectly. The result is surprising.
You are a champion.
Can we replace the name of a color by its code?
Thank you so much!
Thank you very much.
I had completely forgotten that there was such an application on Mac. And besides, I put it in the dock a long time ago.
Conditional highlighting for a complete line