script to set desktop background to a color (Solid White)
Hi,
I'm trying to write a script to change the background color (Solid White).
I typed :
tell application "System Events"
-- GET DESKTOP PICTURE SETTINGS
tell current desktop
get properties
--> returns: {display name:"Color LCD", change interval:1800.0, id:2.077753021E+9, random order:false, picture rotation:0, pictures folder:"/Library/Desktop Pictures/Solid Colors", picture:"/Library/Desktop Pictures/Solid Colors/Solid White.png"}
end tell
end tell
I get this result :
{display name:"Color LCD", change interval:1800.0, id:2.077753021E+9, random order:false, picture rotation:0, pictures folder:"/Library/Desktop Pictures/Solid Colors", picture:"/Library/Desktop Pictures/Solid Colors/Solid Gray Pro Ultra Dark.png", translucent menu bar:missing value, class:desktop}
Can anybody tell me what is wrong?