zenity/internal/zenutil/osascripts/color.applescript
2020-12-11 19:06:41 +00:00

5 lines
No EOL
233 B
AppleScript

tell application "SystemUIServer"
activate
set c to choose color default color { {{index . 0}},{{index . 1}},{{index . 2}} }
"rgb(" & (item 1 of c) div 256 & "," & (item 2 of c) div 256 & "," & (item 3 of c) div 256 & ")"
end tell