Over a million developers have joined DZone.

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
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}