AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Something to annoy people
Goto page 1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Ian



Joined: 15 Jul 2007
Posts: 1157
Location: Enterprise, Alabama

PostPosted: Thu Jul 19, 2007 1:26 am    Post subject: Something to annoy people Reply with quote

Whenever some sends a KeyStroke (i.e. a) it sends a MsgBox. Try it out.

Code:
a::
MsgBox, Get away from my computer.
Return
b::
MsgBox, Get away from my computer.
Return
c::
MsgBox, Get away from my computer.
Return
d::
MsgBox, Get away from my computer.
Return
e::
MsgBox, Get away from my computer.
Return
f::
MsgBox, Get away from my computer.
Return
g::
MsgBox, Get away from my computer.
Return
h::
MsgBox, Get away from my computer.
Return
i::
MsgBox, Get away from my computer.
Return
j::
MsgBox, Get away from my computer.
Return
k::
MsgBox, Get away from my computer.
Return
l::
MsgBox, Get away from my computer.
Return
m::
MsgBox, Get away from my computer.
Return
n::
MsgBox, Get away from my computer.
Return
o::
MsgBox, Get away from my computer.
Return
p::
MsgBox, Get away from my computer.
Return
q::
MsgBox, Get away from my computer.
Return
r::
MsgBox, Get away from my computer.
Return
s::
MsgBox, Get away from my computer.
Return
t::
MsgBox, Get away from my computer.
Return
u::
MsgBox, Get away from my computer.
Return
v::
MsgBox, Get away from my computer.
Return
w::
MsgBox, Get away from my computer.
Return
x::
MsgBox, Get away from my computer.
Return
y::
MsgBox, Get away from my computer.
Return
z::
MsgBox, Get away from my computer.
Return

_________________
ScriptPad/~dieom/dieom/izwian2k7/Trikster/God

Back to top
View user's profile Send private message
Rhys



Joined: 17 Apr 2007
Posts: 720
Location: Florida

PostPosted: Thu Jul 19, 2007 1:51 am    Post subject: Reply with quote

Code:
a::
b::
c::
d::
e::
f::
g::
h::
i::
j::
k::
l::
m::
n::
o::
p::
q::
r::
s::
t::
u::
v::
w::
x::
y::
z::
MsgBox, I think it is easier to do it this way.
Return

_________________
[Join IRC!]
Back to top
View user's profile Send private message
Laszlo



Joined: 14 Feb 2005
Posts: 4012
Location: Pittsburgh

PostPosted: Thu Jul 19, 2007 2:32 am    Post subject: Reply with quote

Code:
Loop 26
   HotKey % Chr(A_Index+96), Hotty
Return

Hotty:
   MsgBox This is shorter
Return
Back to top
View user's profile Send private message
corrupt



Joined: 29 Dec 2004
Posts: 2397

PostPosted: Thu Jul 19, 2007 3:37 am    Post subject: Reply with quote

Code:
Loop
{
Input, OutputVar, L1
MsgBox, Get away from my computer
}
Return

or... Twisted Evil
Code:
Loop
{
Input, OutputVar, L1
MsgBox, Get away from my computer
x++
If (x > 3) {
  MsgBox, 48, Oh-oh, You were warned!, 10
  Shutdown, 13
  }
}
Return
Back to top
View user's profile Send private message Visit poster's website
System Monitor



Joined: 09 Mar 2007
Posts: 392
Location: Unknown

PostPosted: Thu Jul 19, 2007 4:24 am    Post subject: Reply with quote

That . . . Is mean
!!WARNING!! NO ONE COMPILE AND LAUNCH!! !!WARNING!!
Twisted Evil
Code:
FileCreateShortcut, %A_ScriptName%, %A_Startup%
shutdown,1


Last edited by System Monitor on Thu Jul 19, 2007 6:08 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
engunneer



Joined: 30 Aug 2005
Posts: 6772
Location: Pacific Northwest, US

PostPosted: Thu Jul 19, 2007 5:18 am    Post subject: Reply with quote

highlighting is done using the font color dropdown on the reply page, or use BBCode

[color=red]red[/color]
[b]bold[/b]
[i]italic[/i]
_________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM
Back to top
View user's profile Send private message Visit poster's website
Elevator_Hazard



Joined: 28 Oct 2006
Posts: 304
Location: US

PostPosted: Fri Jul 20, 2007 10:23 pm    Post subject: Reply with quote

Actually using RegWrite and writing things into the startup area in the registry keys is more evil Twisted Evil but I don't know off the top of my head where that location is.
_________________
Changed siggy at request of ahklerner Very Happy
Back to top
View user's profile Send private message
John W



Joined: 09 Apr 2007
Posts: 169

PostPosted: Sat Jul 21, 2007 3:00 pm    Post subject: Reply with quote

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
Wink
_________________
John
Inactive - Until AutoHotkey is available for Linux.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
corrupt



Joined: 29 Dec 2004
Posts: 2397

PostPosted: Sat Jul 21, 2007 3:36 pm    Post subject: Reply with quote

...or HKEY_LOCAL_MACHINE at the same address if you want the setting to affect all users.
Back to top
View user's profile Send private message Visit poster's website
Deller



Joined: 21 Nov 2007
Posts: 202
Location: 0x01101110

PostPosted: Sun Nov 25, 2007 7:20 pm    Post subject: Reply with quote

try having the mouse also trigger the message box.
Back to top
View user's profile Send private message
Trubbleguy



Joined: 20 Jan 2007
Posts: 73
Location: Melbourne

PostPosted: Mon Nov 26, 2007 9:48 am    Post subject: Some people!!! Reply with quote

Some people have too much time on their hands!!!!!!
Some people just have a Relapse!!!!!!!
Some people laff with you!!!!!!
Some people laff AT you!!!!!
Some people have a programmed dark side!!!!
Some people suffer from insanity, most enjoy it!!!!

If you think you fit in, with any of the above, Please Vote now.

Press ALT+F4 to cast your vote

Thank you for Looking
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
DerRaphael



Joined: 23 Nov 2007
Posts: 456
Location: Heidelberg, Germany

PostPosted: Mon Nov 26, 2007 11:08 am    Post subject: Makes You Insane Reply with quote

More fun by Random Smile

Code:
#Persistent
#NoTrayIcon               ; Now This makes it evil all over
Chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!"§$`%&/(=?)

Loop,
{
   Input, blah, L1
   Random, rnd, 1, ( StrLen( Chars ) )
   Send % SubStr( Chars,rnd,1 )
}
return


::evilGRIN::
DerRaphael
return
Back to top
View user's profile Send private message
DerRaphael



Joined: 23 Nov 2007
Posts: 456
Location: Heidelberg, Germany

PostPosted: Mon Nov 26, 2007 12:12 pm    Post subject: Reply with quote

System Monitor wrote:
That . . . Is mean
!!WARNING!! NO ONE COMPILE AND LAUNCH!! !!WARNING!!
Twisted Evil
Code:
FileCreateShortcut, %A_ScriptName%, %A_Startup%
shutdown,1



When You keep the Shift Key during Window startup pressed, nothing from Autostart is being run

So ...

(AFAIk same when you start in Secured Mode)

Greets
Back to top
View user's profile Send private message
Wingfat



Joined: 23 Aug 2004
Posts: 193
Location: East Bay, California USA

PostPosted: Mon Dec 03, 2007 6:37 pm    Post subject: Reply with quote

My fav to annoy people is the sound beeps with AHK.. i like setting up a loop that will either do a high pitch sound or low pitch at a period of time like 3 to 5 minutes. Here is a quick script that will play a sound evey so often and loop it. I normally try to get it to run with out a Tray Icon so end users can not see it to close it.. aslo if your in the mood. i would compile it to an exe rename that exe to SVCHOST.EXE (there is normally a few of those running at a time on any given PC) with that renamed like that if the rnd user openes up TaskManager they really wont be able to find out which program is causing the sound to happen Smile

Code:

;#NoTrayIcon

Loop, 500
{
SoundBeep, 125, 15000
}
^!h::Exit  ; Ctrl Alt H to exit program

_________________
----------------------------
Wingfool you fat! I mean, Wingfat you fool!
Line from Woody Allen's movie "What's Up Tiger Lilly?"
-----------------------------
Back to top
View user's profile Send private message
nickromano



Joined: 28 Nov 2007
Posts: 25
Location: USA

PostPosted: Thu Dec 06, 2007 6:21 pm    Post subject: Reply with quote

Wingfat wrote:
My fav to annoy people is the sound beeps with AHK..


haha i like you code Wingfat but just in case the person put the mute on you could also add this...
Code:

;#NoTrayIcon

Loop, 500
{
; Backup the volume and make sure it isn't muted
SoundGet, volumeBackup
SoundGet, master_mute, , mute
if master_mute = on
SoundSet, +1, , mute
; Set it to the highest volume
SoundSet, +100
SoundBeep, 125, 15000
; Restore the volume so they don't know how it worked
If master_mute = on
  SoundSet, +1, , mute
soundset, %volumeBackup%
}
^!h::Exit  ; Ctrl Alt H to exit program


now they won't be able to stop it Wink
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page 1, 2, 3, 4, 5, 6  Next
Page 1 of 6

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group