Applescript to change DVD player info color.

Joined
Dec 28, 2004
Messages
643
Reaction score
5
Points
18
Location
Albany, CA
Your Mac's Specs
ibook G4 12 inch running mac os 10.4 with: 60 gb HD+256 mb ram+Radeon 9200
I've been trying to make an applescript to change the DVD player info color. But I can't figure out how to specify that the text returned is an RGB color.

display dialog "color?" default answer ""
set text returned to col as RGB color


on col()
tell application "DVD Player"
activate
set info type to wide
set info text color to my col
end tell
end col

The error message of course is "Can't make «handler col» into an RGB color."
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top