• 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: System Prefs Scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System Prefs Scripting


  • Subject: Re: System Prefs Scripting
  • From: Maximilian Schirmer <email@hidden>
  • Date: Thu, 11 Oct 2007 11:01:49 +0200

Hey Damian,

you can do it directly through the Finder, without asking
System Preferences:

on setDesktopPicture(desk_pic)
	tell application "Finder" to set desktop picture to (desk_pic as alias)
end setDesktopPicture

-- test and debug
setDesktopPicture ("Zaphod:Users:max:recent:pixelgirl:whatmakesclouds1600x1200.jpg")
-- test and debug


HTH,

Max.
--
trying to make things work... without serendipity in my life
(Paradise Lost - Pray Nightfall)


_______________________________________________ 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: 
 >System Prefs Scripting (From: damian crosby <email@hidden>)

  • Prev by Date: System Prefs Scripting
  • Next by Date: more Excel script woes - paths
  • Previous by thread: System Prefs Scripting
  • Next by thread: more Excel script woes - paths
  • Index(es):
    • Date
    • Thread