Applescript fake virus for teh lulz

Share any hilarious IRC quotes, pictures, jokes, and more here!
Forum rules
- NO nudity/pornography. NO racism. NO offensive material.
- Posting these may result in warnings and/or possible ban!
- Please abide by the rules: viewtopic.php?f=126&t=4355

Applescript fake virus for teh lulz

Post by xjose117x on Fri Nov 16, 2012 9:04 pm
([msg=70970]see Applescript fake virus for teh lulz[/msg])

I have recently been messing around with applescript to troll my friends, and i've whipped up this simple yet irritating code:
Code: Select all
tell application "Finder" to sleep
display dialog "Hello, my name is Jose. I am going to mess with your computer." buttons {"Fuck you", "I bet you can't"} default button 2
if the button returned of the result is "Fuck you" then
   tell application "System Preferences"
      activate
      set current pane to pane "com.apple.preference.displays"
   end tell
   
   tell application "System Events"
      tell process "System Preferences"
         tell slider 1 of group 2 of tab group 1 of window 1
            set value to 0.0
         end tell
      end tell
   end tell
   
   tell application "System Preferences" to quit
   
   repeat
      set volume 16
      say "virus alert"
      tell application "TextEdit"
         activate
         make new document
         set the name of the front window to "hahahaha"
         set the text of the front document to "Neener Neener! You have been infected!"
      end tell
   end repeat
   set volume 16
   say "uploading virus"
   say "virus upload complete"
   
else
   tell application "System Preferences"
      activate
      set current pane to pane "com.apple.preference.displays"
   end tell
   
   tell application "System Events"
      tell process "System Preferences"
         tell slider 1 of group 2 of tab group 1 of window 1
            set value to 0.0
         end tell
      end tell
   end tell
   
   tell application "System Preferences" to quit
end if
repeat
   set volume 16
   say "virus alert"
   tell application "TextEdit"
      
      make new document
      set the name of the front window to "hahahaha"
      set the text of the front document to "Neener Neener! You have been infected!"
   end tell
end repeat

This script makes your computer sleep, then a dialogue box saying "Hi, my name is Jose. I am going to mess with your computer." pops up.
Two buttons appear, one saying fuck you, the other saying I bet you can't. The following will happen when either button is pressed:
Screen brightness will be turned down, volume will be set to the max, a computer voice will say uploading virus, virus upload complete. Then infinite windows of text edit will be spawned saying neener neener you have been infected. Since it's on repeat it's impossible to turn off the volume and keep it from going to max and shouting virus alert without force quitting applescript editor which most people won't think to do.
Feel free to use this code to troll anyone, I hope you enjoy! :D
Last edited by xjose117x on Sun Nov 18, 2012 12:12 am, edited 5 times in total.
xjose117x
New User
New User
 
Posts: 3
Joined: Fri Nov 16, 2012 8:55 pm
Blog: View Blog (0)


Re: applescript fake virus for teh lulz

Post by not_essence2 on Fri Nov 16, 2012 9:37 pm
([msg=70974]see Re: applescript fake virus for teh lulz[/msg])

I conclude that applescript is one of the more easy-to-understand scripts.
But anyways, awesome. I was going to say "Ctrl+Alt+Delete>>Task Manager>>End Task", but wait, it's Apple.
not_essence2
Poster
Poster
 
Posts: 189
Joined: Fri Sep 14, 2012 6:09 pm
Blog: View Blog (0)


Re: applescript fake virus for teh lulz

Post by xjose117x on Fri Nov 16, 2012 9:54 pm
([msg=70977]see Re: applescript fake virus for teh lulz[/msg])

not_essence2 wrote:I conclude that applescript is one of the more easy-to-understand scripts.
But anyways, awesome. I was going to say "Ctrl+Alt+Delete>>Task Manager>>End Task", but wait, it's Apple.

While it is mac, you can still easily just use force quit to quit out of applescript and textedit. The lulz value of this is achieved by getting a technologically clueless person to open this file.
xjose117x
New User
New User
 
Posts: 3
Joined: Fri Nov 16, 2012 8:55 pm
Blog: View Blog (0)


Re: applescript fake virus for teh lulz

Post by not_essence2 on Fri Nov 16, 2012 10:52 pm
([msg=70984]see Re: applescript fake virus for teh lulz[/msg])

Technologically illiterate- 99% of the world. :D
not_essence2
Poster
Poster
 
Posts: 189
Joined: Fri Sep 14, 2012 6:09 pm
Blog: View Blog (0)


Re: applescript fake virus for teh lulz

Post by WallShadow on Sat Nov 17, 2012 2:49 pm
([msg=71023]see Re: applescript fake virus for teh lulz[/msg])

Correction, 99.99% of COMPUTER USERS. Half the world doesn't even use computers.
User avatar
WallShadow
Contributor
Contributor
 
Posts: 612
Joined: Tue Mar 06, 2012 9:37 pm
Blog: View Blog (0)


Re: applescript fake virus for teh lulz

Post by Shade_of_Gray on Sat Nov 17, 2012 5:34 pm
([msg=71025]see Re: applescript fake virus for teh lulz[/msg])

WallShadow wrote:Correction, 99.99% of COMPUTER USERS. Half the world doesn't even use computers.


That only makes it even more true. Think about it. :geek:
Shade_of_Gray
Experienced User
Experienced User
 
Posts: 60
Joined: Mon Oct 22, 2012 11:04 pm
Blog: View Blog (0)


Re: applescript fake virus for teh lulz

Post by not_essence2 on Sat Nov 17, 2012 6:41 pm
([msg=71036]see Re: applescript fake virus for teh lulz[/msg])

WallShadow- But then the ones who don't use computers are still technically technologically illiterate.
not_essence2
Poster
Poster
 
Posts: 189
Joined: Fri Sep 14, 2012 6:09 pm
Blog: View Blog (0)


Re: applescript fake virus for teh lulz

Post by xjose117x on Sat Nov 17, 2012 11:22 pm
([msg=71057]see Re: applescript fake virus for teh lulz[/msg])

Today I messed with my friends macbook by doing this:
Code: Select all
repeat
tell application "finder"
sleep
end tell
end repeat
xjose117x
New User
New User
 
Posts: 3
Joined: Fri Nov 16, 2012 8:55 pm
Blog: View Blog (0)


Re: Applescript fake virus for teh lulz

Post by not_essence2 on Sun Nov 18, 2012 10:13 am
([msg=71069]see Re: Applescript fake virus for teh lulz[/msg])

Nice one.
not_essence2
Poster
Poster
 
Posts: 189
Joined: Fri Sep 14, 2012 6:09 pm
Blog: View Blog (0)



Return to LULZ

Who is online

Users browsing this forum: No registered users and 0 guests