DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Set Background Image On Mac With Osascript
run it like this: osascript bg.osa /tmp/some.jpg
on run argv
tell application "Finder"
set desktop picture to (item 1 of argv) as POSIX file
end tell
end run





