uthallan
11-04-2008, 11:25 PM
People want more keys.... right?
people don't want to spend money on new keyboards or overpriced pads with programmable keys... right?
The average keyboard has 12 function keys
I made an autohotkey script that will turn those 12 function keys into 20.
f11::
fkeys = 1
return
f12::
fkeys = 2
return
f1::
if fkeys = 1
{
send function 1 set 1
return
}
if fkeys = 2
{
send function 1 set 2
return
}
f2::
if fkeys = 1
{
send function 2 set 1
return
}
if fkeys = 2
{
send function 2 set 2
return
}
f3::
if fkeys = 1
{
send function 3 set 1
return
}
if fkeys = 2
{
send function 3 set 2
return
}
f4::
if fkeys = 1
{
send function 4 set 1
return
}
if fkeys = 2
{
send function 4 set 2
return
}
f5::
if fkeys = 1
{
send function 5 set 1
return
}
if fkeys = 2
{
send function 5 set 2
return
}
f6::
if fkeys = 1
{
send function 6 set 1
return
}
if fkeys = 2
{
send function 6 set 2
return
}
f7::
if fkeys = 1
{
send function 7 set 1
return
}
if fkeys = 2
{
send function 7 set 2
return
}
f8::
if fkeys = 1
{
send function 8 set 1
return
}
if fkeys = 2
{
send function 8 set 2
return
}
f9::
if fkeys = 1
{
send function 9 set 1
return
}
if fkeys = 2
{
send function 9 set 2
return
}
f10::
if fkeys = 1
{
send function 10 set 1
return
}
if fkeys = 2
{
send function 10 set 2
return
}
just replace the parts that say "send function X set <1/2>" with whatever command you want.
How it works is you first run the script, then press f11. Now whever you press f1-10, it will execute the command you put in all the set 1's. Next, you can press f12 and NOW when you press f1-10, it will execute the command in the set 2 spot. Hope this helped you all!
EDIT: Oh damn, just realized I posted this in hardware. I meant to put it in software.
people don't want to spend money on new keyboards or overpriced pads with programmable keys... right?
The average keyboard has 12 function keys
I made an autohotkey script that will turn those 12 function keys into 20.
f11::
fkeys = 1
return
f12::
fkeys = 2
return
f1::
if fkeys = 1
{
send function 1 set 1
return
}
if fkeys = 2
{
send function 1 set 2
return
}
f2::
if fkeys = 1
{
send function 2 set 1
return
}
if fkeys = 2
{
send function 2 set 2
return
}
f3::
if fkeys = 1
{
send function 3 set 1
return
}
if fkeys = 2
{
send function 3 set 2
return
}
f4::
if fkeys = 1
{
send function 4 set 1
return
}
if fkeys = 2
{
send function 4 set 2
return
}
f5::
if fkeys = 1
{
send function 5 set 1
return
}
if fkeys = 2
{
send function 5 set 2
return
}
f6::
if fkeys = 1
{
send function 6 set 1
return
}
if fkeys = 2
{
send function 6 set 2
return
}
f7::
if fkeys = 1
{
send function 7 set 1
return
}
if fkeys = 2
{
send function 7 set 2
return
}
f8::
if fkeys = 1
{
send function 8 set 1
return
}
if fkeys = 2
{
send function 8 set 2
return
}
f9::
if fkeys = 1
{
send function 9 set 1
return
}
if fkeys = 2
{
send function 9 set 2
return
}
f10::
if fkeys = 1
{
send function 10 set 1
return
}
if fkeys = 2
{
send function 10 set 2
return
}
just replace the parts that say "send function X set <1/2>" with whatever command you want.
How it works is you first run the script, then press f11. Now whever you press f1-10, it will execute the command you put in all the set 1's. Next, you can press f12 and NOW when you press f1-10, it will execute the command in the set 2 spot. Hope this helped you all!
EDIT: Oh damn, just realized I posted this in hardware. I meant to put it in software.