Comments
 
posted on May 10th 2016, at 09:52
by lunarg

You can use Terminal in combination with AppleScript to set/change the wallpaper on your Mac. While not immediately obvious when you would need this, it might come in handy for automation purposes.

Open a Terminal and run the following command:

osascript -e 'tell application "Finder" to set desktop wallpaper to POSIX file "/path/to/file.jpg"'

Replace /path/to/file.jpg with the full path of the file you want to use. All common formats (JPG, PNG, etc.) are supported.

 
 
« April 2024»
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
282930    
 
Links
 
Quote
« I needed a password with eight characters so I picked Snow White and the Seven Dwarves. »