mirror of
https://github.com/UberGuidoZ/Flipper.git
synced 2024-12-22 22:40:14 +00:00
37 lines
615 B
Plaintext
37 lines
615 B
Plaintext
|
REM Takes a Screenshot and saves the image to the desktop
|
||
|
|
||
|
REM Title: MacOS ScreenShot
|
||
|
REM Author: Narsty
|
||
|
REM Target: MacOS
|
||
|
REM Version: 1.0
|
||
|
REM Category: GOODUSB
|
||
|
|
||
|
|
||
|
ID 05ac:021e Apple:Keyboard
|
||
|
DELAY 2000
|
||
|
GUI SPACE
|
||
|
DELAY 500
|
||
|
STRING terminal
|
||
|
DELAY 500
|
||
|
ENTER
|
||
|
DELAY 500
|
||
|
STRING echo "USB Script Utility"
|
||
|
ENTER
|
||
|
DELAY 500
|
||
|
STRING echo "-------------------"
|
||
|
ENTER
|
||
|
DELAY 500
|
||
|
STRING echo "Capturing Screenshot..."
|
||
|
ENTER
|
||
|
DELAY 500
|
||
|
STRING screencapture -W ~/Desktop/screenshot.png
|
||
|
ENTER
|
||
|
DELAY 1000
|
||
|
STRING echo "Screenshot captured and saved to Desktop!"
|
||
|
ENTER
|
||
|
DELAY 500
|
||
|
STRING echo "-------------------"
|
||
|
ENTER
|
||
|
DELAY 2000
|
||
|
GUI q
|