Re: background color
Re: background color
- Subject: Re: background color
- From: Luther Fuller <email@hidden>
- Date: Mon, 2 Jun 2008 09:30:09 -0500
You're right, white is {65535,65535,65535}. But, now there's another
problem. You would think that this ...
tell application "Finder"
set folderRef to (target of window 1) as alias
set background color of icon view options of (window of folderRef) to
{65535, 65535, 65535}
end tell
would always set the folder background to white. And, it will,
provided the folder window HAS a background color to change. If the
window has a bg picture, then it does not have a bg color to change,
and all you can do is change the picture file. If you try to use the
'set background color ...' command on a window having a bg picture,
nothing happens. I smell a bug here.
And, there is no command equivalent to manually setting the bg to White.
On Jun 2, 2008, at 8:51 AM, KOENIG Yvan wrote:
Le 2 juin 2008 à 15:19, Luther Fuller a écrit :
In Tiger and previous, I used ...
set background picture of icon view options of (window of
folderRef) to someFolder
as a work-around to make a background picture go away. This no
longer works. So I tried using ...
set background color of icon view options of (window of folderRef)
to {0, 0, 0}
but, this makes the bg color BLACK. And so does {k, m, n} for all
values of k, m and n that I can think of. I'm totally ignorant of
color coordinates, so how do I set the bg color to WHITE?
If I remember well, white is {65535,65535,65535}
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden