From 7ed8d300ad68ccc904cf0a015370b6289bd5a27e Mon Sep 17 00:00:00 2001 From: Narsty <132179825+narstybits@users.noreply.github.com> Date: Fri, 12 May 2023 00:40:53 -0500 Subject: [PATCH] GoodUSB Scripts MacOs --- All Applications at once .txt | 32 +++++++++++++++++++++++++ AudioInfo.ducky.txt | 44 +++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 All Applications at once .txt create mode 100644 AudioInfo.ducky.txt diff --git a/All Applications at once .txt b/All Applications at once .txt new file mode 100644 index 0000000..d7d8af1 --- /dev/null +++ b/All Applications at once .txt @@ -0,0 +1,32 @@ +REM Opens Terminal, Safari, Xcode, Calendar, Messages, Pycharm CE +REM You can update the (" ") with whatever applications you'd like! +REM Delays may need adjusting depending on how long app takes to load. + +REM Title: All Applications at once +REM Author: Narsty +REM Target: MacOS +REM Version: 1.0 +REM Category: Utility + +DELAY 2000 +GUI SPACE +DELAY 500 +STRING terminal +ENTER +DELAY 1000 +STRING open -a "Safari" +ENTER +DELAY 1000 +STRING open -a "Xcode" +ENTER +DELAY 5000 +STRING open -a "Calendar" +ENTER +DELAY 1000 +STRING open -a "Messages" +ENTER +DELAY 2000 +STRING open -a "Pycharm CE" +ENTER +DELAY 2000 + diff --git a/AudioInfo.ducky.txt b/AudioInfo.ducky.txt new file mode 100644 index 0000000..99b9c32 --- /dev/null +++ b/AudioInfo.ducky.txt @@ -0,0 +1,44 @@ +REM Title: AudioInfo.ducky +REM Author: NARSTY +REM Description:Provides a utility to display/Say useful information on the target system +REM the current date, time, and battery percentage +REM + +REM Target: MacOS +REM Version: 1.0 +REM Category: Utility + +DELAY 2000 +GUI SPACE +DELAY 500 +STRING terminal +ENTER +DELAY 500 +STRING echo "USB Script Utility" +ENTER +DELAY 500 +STRING echo "-------------------" +ENTER +DELAY 500 +STRING echo "Current Date:" +ENTER +DELAY 500 +STRING date "+%Y-%m-%d" | say +ENTER +DELAY 500 +STRING echo "Current Time:" +ENTER +DELAY 500 +STRING date "+%H:%M:%S" | say +ENTER +DELAY 500 +STRING echo "Battery Percentage:" +ENTER +DELAY 500 +STRING ioreg -l | awk '$3~/Capacity/{c[$3]=$5}END{OFMT="%.2f%%";max=c["\"MaxCapacity\""];print(max>0?100*c["\"CurrentCapacity\""]/max:"?")}' | say +ENTER +DELAY 500 +STRING echo "-------------------" +ENTER +DELAY 2000 +