Why must I double a command line to set the background picture?
Why must I double a command line to set the background picture?
- Subject: Why must I double a command line to set the background picture?
- From: Emile Schwarz <email@hidden>
- Date: Sun, 14 Feb 2010 02:40:48 +0100
Hi all,
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
but the following script works fine (without closing/re-opening 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
set background picture of icon view options of fw to item
"Folder_Bkgnd.png" of fw
end tell
Why ?
[in fact, I can eventually say why, but this 'feature' exists on other
Finder commands - like update _reference_ with necessity - and is really
annoying]
Emile
Hardware: MacBook UniBody 2008-11
Software: Snow Leopard revision 2 (10.6.2)
_______________________________________________
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