It is probably a simple syntax problem but I am not able to retrieve a Key name from a property list.
I am using a background RGB value to identify a particular Color Scheme a user has selected. I created a property list of a schema name to RGB values. i.e. (Navy:(0,0,140), etc). I have a script to capture the coloratlocation for a background color value. I do a "if input is in RGBtable then return the schema name.
This script finds the RGB value in table but I do not know how to return the key name.