• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: background color
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: background color


  • Subject: Re: background color
  • From: Paul Berkowitz <email@hidden>
  • Date: Mon, 02 Jun 2008 08:54:16 -0700
  • Thread-topic: background color

On 6/2/08 8:20 AM, "Michelle Steiner" <email@hidden> wrote:

> Icon view has a background picture property as well as a background
> color property.  The property is of type file.  I tried to set it to
> missing value and to null, but both error.  It appears that once a
> window has a background picture, you can't remove it using Applescript.

Also: if you set the background picture via AppleScript, it works, but if
you then try to get this background picture property of icon view options,
it still can't get it (errors). I was going to see if you could delete it,
but I couldn't get that far, since AppleScript doesn't know it's been set!

Even in the UI, you can't remove the background picture once and for all
once you've set it - you can only select a different picture, or switch the
view to White or Color. (If you switch back the Picture, the previously set
picture reappears.) So, in a way, that explains that. But the fact that
there doesn't seem to be any way to switch the background from Picture to
Color via AppleScript is a bug. The AppleScript properties were not
implemented correctly to reflect what can be done in the UI. Instead of
separate 'background picture' and 'background color' properties of 'icon
view options', there should be be a 'background type' property with two
enumerated results - 'background picture' and 'background color', each of
which would then be settable and gettable according to their types.

--
Paul Berkowitz


 _______________________________________________
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

  • Follow-Ups:
    • Re: background color
      • From: Luther Fuller <email@hidden>
References: 
 >Re: background color (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: background color
  • Next by Date: Re: background color
  • Previous by thread: Re: background color
  • Next by thread: Re: background color
  • Index(es):
    • Date
    • Thread