ok, this took longer than I thought because it seems that scripting of desktop background is a bit buggy. anyway. paste the following into Script Editor and save it as a script somewhere.
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px; height: 335px;
color: #000000;
background-color: #ADD8E6;
overflow: auto;"
title="this text can be pasted into the Script Editor">
delay 10
tell application "System Events"
--activate
-- SET DESKTOP TO SPECIFIC PICTURE
tell current desktop
--set picture rotation to 0
set curpic to picture
end tell
tell application "Finder"
set i to index of file curpic
set curfolder to container of file curpic
if i < (number of files in curfolder) then
set i to i + 1
else
set i to 1
end if
set newpic to item i of curfolder as alias
end tell
tell current desktop
set pictures folder to curfolder as alias
set picture rotation to 0
set picture to newpic
end tell
quit
end tell
</pre>
then download Lingon
http://sourceforge.net/projects/lingon/
and make a launch daemon that runs the following terminal command at an interval of your choice
osascript path/to/above/script
put the correct unix path in the above command.
save it and log out/in. the script will rotate the pictures consecutively at the period you specified in the launch daemon. you can change the folder with pictures as you normally would in desktop system preferences.
Message was edited by: V.K.