Re: New to OS X question: scripting desktop picture
Re: New to OS X question: scripting desktop picture
- Subject: Re: New to OS X question: scripting desktop picture
- From: Graff <email@hidden>
- Date: Tue, 05 Apr 2005 14:52:01 -0400
You can do this for a main display:
----
set theFile to choose file
tell application "Finder"
set the desktop picture to theFile
end tell
----
I'm not sure how to do this for a secondary display and I don't have
one to test things out on.
- Ken
On Apr 5, 2005, at 1:01 PM, Mark J. Reed wrote:
Okay, I see in the Finder dictionary that the application's "desktop
picture" property is a proxy - but for what? System Preferences
doesn't seem to have anything useful, and I don't know where else that
would live.
I have two monitors and would like to script the desktop picture on my
secondary display, especially considering the frequency with which I
run into the "wake up with a blue desktop" scenario on my laptop.
I tried using System Events to script the preferences panel, but
scripting a click on one of the images doesn't seem to do anything,
even though a real click does. Not sure what's going on there.
_______________________________________________
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