Re: desktop picture
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