Thursday, November 20, 2008

AHK - 1337 5p43k typer

This script is just a fun one that will allow you to type in leet speak without having to think about it. You can add additional possibilities, but keep in mind that it only accepts up to 2 parameters in the Rand() function.
#UseHook
SetScrollLockState, Off
ScrollLock::Suspend, Toggle
a::Rand("4")
b::Rand("|3")
c::Rand("<","(")
d::Rand("C|")
e::Rand("3")
f::Rand("")
g::Rand("6")
h::Rand("|-|")
i::Rand("1","!")
j::Rand("")
k::Rand("|<")
l::Rand("|","1")
m::Rand("|\/|")
n::Rand("|\|")
o::Rand("0")
p::Rand("")
q::Rand("")
r::Rand("|2")
s::Rand("5","z")
t::Rand("7","+")
u::Rand("V")
v::Rand("\/")
w::Rand("|/\|")
x::Rand("")
y::Rand("j")
z::Rand("")
Rand(C1="",C2="") {
Chars := 2 + (C1 ? 1 : 0) + (C2 ? 1 : 0)
Random, R, 1, %Chars%
Send % "{RAW}" . (R == 1 ? L(SubStr(A_ThisHotkey,0,1)) : (R == 2 ? U(SubStr(A_ThisHotkey,0,1)) : (R == 3 ? C1 : C2)))
}
L(Str) {
StringLower, Str, Str
Return Str
}
U(Str) {
StringUpper, Str, Str
Return Str
}

1 comment:

ilyapadmore said...

Harrah's Cherokee Casino Resort, NC - MapYRO
Harrah's 밀양 출장샵 Cherokee Casino Resort is located in the 사천 출장안마 heart of the Great Smoky Mountains of Western North Carolina, 슬롯 나라 just 20 minutes from 익산 출장샵 the 목포 출장안마 centre of