Salut
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- set image to POSIX file "/Users/arthur/Pictures/Wallpaper/Afternoon.jpg" | |
on idle | |
set t1 to (time of (current date)) | |
if (t1 > 0 and t1 < 10800) then | |
set image to POSIX file {"/Users/Pictures/Wallpaper/Night.jpg"} | |
else if (t1 > 10800 and t1 < 21600) then | |
set image to POSIX file {"/Users/Pictures/Wallpaper/LateNight.jpg"} | |
else if (t1 > 21600 and t1 < 28800) then | |
set image to POSIX file {"/Users/Pictures/Wallpaper/EarlyMorn.jpg"} |