• 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: desktop picture
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: desktop picture


  • Subject: Re: desktop picture
  • From: kai <email@hidden>
  • Date: Wed, 11 Jan 2006 22:36:06 +0000


On 11 Jan 2006, at 18:59, Willem Perquin wrote:

tell application "System Events"
click menu item "Bureaublad en schermbeveiliging" of menu "Weergave" of menu bar 1 of process "System Preferences"
tell application process "System Preferences"
select static text "Abstract" of row 5 of table 1 of scroll area 2 of group 2 of group 1 of tab group 1 of window "Bureaublad en schermbeveiliging"
end tell
end tell



I can feel it, pleace help me with the final part

UI scripting is handy for a whole bunch of stuff, Willem - but in this case, there's a rather easier and better way to achieve the same result:


--------------

set newPicture to "Abstract:Abstract 3.jpg" (* amend as required *)

tell application "Finder" to set desktop picture to ¬
	(path to desktop pictures folder as Unicode text) & newPicture

--------------

---
kai


_______________________________________________ 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
References: 
 >desktop picture (From: Willem Perquin <email@hidden>)

  • Prev by Date: Re: Various Qs about Intel and AppleScript
  • Next by Date: Aperture Craperture
  • Previous by thread: Re: desktop picture
  • Next by thread: Re: desktop picture
  • Index(es):
    • Date
    • Thread