• 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: Why must I double a command line to set the background picture?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why must I double a command line to set the background picture?


  • Subject: Re: Why must I double a command line to set the background picture?
  • From: Michelle Steiner <email@hidden>
  • Date: Sun, 14 Feb 2010 09:02:00 -0700


On Feb 13, 2010, at 6:40 PM, Emile Schwarz wrote:

the following script do nothing ('till I close and open the front window):

tell application "Finder"
set fw to front window
set background picture of icon view options of fw to item "Folder_Bkgnd.png" of fw
end tell

Try this:

tell application "Finder"
set fw to front window
set background picture of icon view options of fw to item "Folder_Bkgnd.png" of fw
update
end tell

If that doesn't work, try this:

tell application "Finder"
set fw to front window
set background picture of icon view options of fw to item "Folder_Bkgnd.png" of fw
update with necessity
end tell

-- Michelle

-- 
We're not human beings having a spiritual experience.  
We're spiritual beings having a human experience.


 _______________________________________________
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

References: 
 >Why must I double a command line to set the background picture? (From: Emile Schwarz <email@hidden>)

  • Prev by Date: Re: Image Events and Preview
  • Next by Date: Re: Stuffit Deluxe not applescriptable in 10.6.2
  • Previous by thread: Why must I double a command line to set the background picture?
  • Next by thread: Ability to run multiple scripts at once
  • Index(es):
    • Date
    • Thread