zenity/internal/zenutil/osascripts/color.applescript

5 lines
233 B
AppleScript
Raw Normal View History

2020-12-11 14:06:41 -05:00
tell application "SystemUIServer"
2020-01-21 07:03:58 -05:00
activate
2020-12-11 13:28:16 -05:00
set c to choose color default color { {{index . 0}},{{index . 1}},{{index . 2}} }
2020-01-21 11:13:45 -05:00
"rgb(" & (item 1 of c) div 256 & "," & (item 2 of c) div 256 & "," & (item 3 of c) div 256 & ")"
2020-01-21 07:03:58 -05:00
end tell