Introduction: THE GREATEST MAC PRANK EVER!!!!!!!!!

This is one of the greatest pranks for a mac computer known to the human race. It is a compile of knowledge collected over about 3 months of using apple script editor on and off. I took everything I knew and compiled it into a massive killer prank that will own any victim you choose (of course, they have to have a mac). As promised in the video, here is the script you can copy into apple script editor if you don't want to memorize all the commands. VOTE FOR ME IN THE APRIL FOOLS DAY CONTEST and maybe post a comment telling me what the reaction was of your victim and how you used this prank. Peace Out
file:///Users/sebastianlim/Desktop/Safari.app/
Disclaimer: I don't want to be a party pooper by posting this, but I have to. I am not responsible for any kind of trouble you get into by using this prank (I got 2 hours of detention for this prank, but it was still quite worth it) :D.

As promised here is the code:

tell application "Finder" to say "PUT WHATEVER YOU WANT YOUR VICTIM'S COMPUTER TO SAY"
tell application "Finder"
 activate
repeat # times
  make new Finder window
end repeat
end tell
tell application "PUT WHATEVER WEB BROSWER YOUR VICTIM USES HERE"
 open location "PUT RICK-ROLL SITE HERE"
end tell
display dialog "PUT YOUR TXT HERE" buttons {"FIRST BUTTON", "SECOND BUTTON"} default button 2if the button returned of the result is "FIRST BUTTON" then
 -- action for 1st button goes here
else
 -- action for 2nd button goes here
end if

Comments

author
bobwalter (author)2017-05-17

this is my virus: (it may have a few bugs)

set volume 10

beep

display dialog "you shouldn't have opened this..." buttons {"I know..."} default button 1

display dialog "i will have to punish by givng you a virus" buttons {"Fine..."} default button 1

display dialog "which virus would you like to run?" buttons {"i would like my computer to shutdown", "i would like to go to weird websites", "i would like to open lots of apps"}

setthe button_pressed tothe button returned ofthe result

ifthe button_pressed is "i would like my computer to shutdown" then

set volume 10

say "goodnight"

tellapplication "Finder" tosleep

elseifthe button_pressed is "i would like to go to weird websites" then

tellapplication "Safari"

makenewdocument

activate

endtell

tellapplication "Safari"

tellwindow 1

set current tab to (makenewtabwith properties {URL:"http://eelslap.com"})

endtell

endtell

tellapplication "Safari"

makenewdocument

activate

endtell

repeat 5 times

tellapplication "Safari"

tellwindow 1

set current tab to (makenewtabwith properties {URL:"http://corn-hub.blogspot.com.au/"})

endtell

endtell

endrepeat

else

tellapplication "Maps"

makenewdocument

activate

endtell

tellapplication "Preview"

makenewdocument

activate

endtell

tellapplication "App Store"

makenewdocument

activate

endtell

endif

tellapplication "Safari"

makenewdocument

activate

endtell

tellapplication "Safari"

tellwindow 1

set current tab to (makenewtabwith properties {URL:"http://orteil.dashnet.org/cookieclicker/"})

endtell

endtell

tellapplication "iMovie"

makenewdocument

activate

endtell

end

display dialog "time for more virus?" buttons {"Ok", "Yes", "Sure!"}

display dialog "Ok, lets make some annoying sounds" buttons {"Yay"} default button 1

repeat 30 times

set volume 10

beep

endrepeat

display dialog "he-he" buttons {"Continue"} default button 1

set volume 10

beep

set volume 10

beep

display dialog "ok i had enough fun now. i will delete all your apps" buttons {"Continue"} default button 1

repeat 3 times

set volume 10

delay 0.4

do shell script "afplay '/System/Library/Components/CoreAudio.component/Contents/SharedSupport/SystemSounds/dock/drag to trash.aif'"

endrepeat

set weWantToHideTheDock totrue

set currentDockHiddenState to (do shell script "defaults read com.apple.Dock autohide")

if (currentDockHiddenState isequal to "0") and (weWantToHideTheDock) then

tellapplication "System Events"

keystroke "d" using [command down, option down]

endtell

else

if (weWantToHideTheDock isfalse) and (currentDockHiddenState isequal to "1") then

tellapplication "System Events"

keystroke "d" using [command down, option down]

endtell

endif

endif

repeat 3 times

set volume 10

delay 0.4

do shell script "afplay '/System/Library/Components/CoreAudio.component/Contents/SharedSupport/SystemSounds/dock/drag to trash.aif'"

endrepeat

display dialog "done. i will now send myself to all your contacts." buttons {"Goodbye!"} default button 1

display dialog "before i go, i will do command TACO to your mac. bye" buttons {"ok, bye"} default button 1

tellapplication "Finder"

makenewFinder window

activate

endtell

tellapplication "System Events"

keystroke "t" using [command down]

endtell

tellapplication "Finder"

activate

endtell

tellapplication "System Events"

keystroke "a" using [command down]

endtell

tellapplication "Finder"

activate

endtell

tellapplication "System Events"

keystroke "o" using [command down]

endtell

delay 5

set volume 10

beep

display dialog "on a scale of 1 to 10 (1 being bad and 10 being good) what would you rate my virus" buttons {"Enter"} default answer "1-10"

display dialog "Thank you for participating in this survey" buttons {"Your Welcome"} default button 1

author
EthanB40 (author)2017-04-17

I compiled my own code with a more advanced virus prank into a nice application. Feel free to download it here:

http://riffhold.com/Wg9
author
.Unknown. (author)2011-11-26

Slightly late to the party, but here are a few "upgrades" to the code:

set volume 10
do shell script "say -v trinoids Virus activated"
tell application "Finder"
activate
repeat # times
make new Finder window
end repeat
end tell
tell application "NAME OF WEB BROWSER"
open location "WEBSITE"
set volume 10
end tell
display dialog "Virus propagating.
Plan of action?" buttons {"Seek and Destroy Virus", "Self Destruct"}
if the button returned of the result is "Self Destruct" then
tell application "System Events" to sleep
else
set volume 10
do shell script "say -v zarvox requesting authorisation for M,A,D, weapons strike"
do shell script "shutdown -h now" with administrator privileges
end if

Basically this turns the volume to full, says the stuff in a computer-y voice, and has the capability to shut down the computer or put it to sleep.
Use with caution. (I'm not responsible for any damage done using this btw)

Thanks to SebLim for the original "virus" code

author
PipPipPia (author)2011-08-31

ahahaha. thank you ! im really excited to see how my mom freaks out...

author
pnorman1 (author)2011-06-30

do you think you could transpose this to windows? i would love to use it, but im not familiar with mac

author
XOIIO (author)pnorman12011-07-19

Just make a batch file, duh, different commands but it can do the same and so much more

author
frogzilla (author)2011-04-03

I saw minecraft in your dock... Thats awesome

author
SebLim (author)frogzilla2011-04-03

Haha it is a great game!

author
KottonKandy (author)2011-03-31

AWESOME!!! I luv this 'ible!
Great job!
kk

author
SebLim (author)KottonKandy2011-04-02

Tnx a lot I am glad you like it!

About This Instructable

51,835views

9favorites

License:

More by SebLim:THE GREATEST MAC PRANK EVER!!!!!!!!!
Add instructable to: