• 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
Background Pict Bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Background Pict Bug?


  • Subject: Background Pict Bug?
  • From: Luther Fuller <email@hidden>
  • Date: Thu, 23 Feb 2006 07:22:43 -0600

I have a folder, that contains an invisible folder, that contains a picture file, which is the background picture for the outer folder. I want to move the picture file to the outer folder, trash the invisible folder and set the background of the outer folder to white. This code should do it ...

move pictFile to parentFolder
set background color of icon view options of (window of parentFolder) to {65535, 65535, 65535}
quoted form of POSIX path of hiddenFolder
do shell script "rm -f -r " & the result


But, it doesn't work. The background picture persists until the background is manually set to white. It was perhaps 8 months ago when I last tried to get this to work. Last evening I tried again. After trying everything that could possibly work and getting nowhere, I tried something that couldn't possibly work. Ever. Not in a million years. Here's the code ...

move pictFile to parentFolder
set background picture of icon view options of (window of parentFolder) to hiddenFolder
-- this sets bg color to black
quoted form of POSIX path of hiddenFolder
do shell script "rm -f -r " & the result
-- now the bg color is white


It works! But this is NOT the way AppleScripting is supposed to work! Surely something is very broken here and I should file a bug report.

But, first, has anyone had any experience with this that I should know about?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: different behavior between debug and release builds
  • Next by Date: Re: Finding a decent Applescript reference/tutorial?
  • Previous by thread: Re: Scripting Print Window settings without UI scripting?
  • Next by thread: ampersands in path names
  • Index(es):
    • Date
    • Thread