Initial migratory commit from voussoir/else.
This commit is contained in:
commit
5bd46c4a4d
12 changed files with 234 additions and 0 deletions
6
alwaysontop.ahk
Normal file
6
alwaysontop.ahk
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||||
|
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||||
|
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||||
|
|
||||||
|
; USE CTRL + SPACE TO TOGGLE THE EFFECT ON AND OFF
|
||||||
|
^SPACE:: Winset, Alwaysontop, , A
|
38
bracketwrap.ahk
Normal file
38
bracketwrap.ahk
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||||
|
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||||
|
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||||
|
|
||||||
|
; Pressing ctrl+[ will surround the currently selected text with square brackets.
|
||||||
|
; This script was put together quickly so I could get some file renaming done.
|
||||||
|
; Use at your own risk.
|
||||||
|
|
||||||
|
^[::
|
||||||
|
|
||||||
|
original_clipboard := ClipboardAll
|
||||||
|
|
||||||
|
While(Clipboard := "")
|
||||||
|
Sleep 0
|
||||||
|
|
||||||
|
Send, ^x
|
||||||
|
Sleep, 50
|
||||||
|
ClipWait, 1
|
||||||
|
|
||||||
|
SendInput, [
|
||||||
|
Send, ^v
|
||||||
|
SendInput, ]
|
||||||
|
|
||||||
|
Sleep, 50
|
||||||
|
ClipBoard := original_clipboard
|
||||||
|
|
||||||
|
; This fixes the behavior where the ctrl key is digitally released even though
|
||||||
|
; you are still holding it down after having pressed ctrl+[.
|
||||||
|
if GetKeyState("Control")
|
||||||
|
{
|
||||||
|
Send,{CTRLDOWN}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Send,{CTRLUP}
|
||||||
|
}
|
||||||
|
|
||||||
|
return
|
5
capslock_click.ahk
Normal file
5
capslock_click.ahk
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||||
|
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||||
|
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||||
|
|
||||||
|
CapsLock:: LButton
|
5
capslock_f13.ahk
Normal file
5
capslock_f13.ahk
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||||
|
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||||
|
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||||
|
|
||||||
|
CapsLock:: F13
|
49
clickerheroes.ahk
Normal file
49
clickerheroes.ahk
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||||
|
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||||
|
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||||
|
|
||||||
|
CoordMode, Mouse, Screen
|
||||||
|
|
||||||
|
Clicks(xx, yy)
|
||||||
|
{
|
||||||
|
SendEvent {Click, %xx%, %yy%}
|
||||||
|
sleep 80
|
||||||
|
}
|
||||||
|
|
||||||
|
F4::
|
||||||
|
{
|
||||||
|
MsgBox "Stopped"
|
||||||
|
Reload
|
||||||
|
}
|
||||||
|
|
||||||
|
F2::
|
||||||
|
{
|
||||||
|
MsgBox "Hold F4 to stop"
|
||||||
|
Loop
|
||||||
|
{
|
||||||
|
Clicks(630, 507) ; fish
|
||||||
|
Clicks(856, 450) ; fish
|
||||||
|
Clicks(866, 397) ; fish
|
||||||
|
Clicks(978, 530) ; fish
|
||||||
|
Clicks(1111, 471) ; fish
|
||||||
|
Clicks(1159, 460) ; fish
|
||||||
|
Clicks(725, 225) ; clicks
|
||||||
|
Clicks(725, 275) ; powersurge
|
||||||
|
Clicks(725, 328) ; crits
|
||||||
|
Clicks(725, 380) ; metal
|
||||||
|
Clicks(725, 432) ; goldclicks
|
||||||
|
Clicks(725, 485) ; ritual
|
||||||
|
Clicks(725, 640) ; reload
|
||||||
|
Clicks(725, 584) ; energy
|
||||||
|
Clicks(725, 530) ; superclicks
|
||||||
|
Clicks(210, 515) ; buyhero
|
||||||
|
Clicks(585, 515) ; over...
|
||||||
|
Clicks(585, 150) ; up...
|
||||||
|
Clicks(820, 150) ; over...
|
||||||
|
Loop 180
|
||||||
|
{
|
||||||
|
; ...and down
|
||||||
|
Clicks(820, 240) ; monster
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
7
ctrl_space_paste.ahk
Normal file
7
ctrl_space_paste.ahk
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||||
|
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||||
|
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||||
|
|
||||||
|
; CTRL+SPACE pastes the clipboard as if it was typed manually.
|
||||||
|
^SPACE:: SendInput % RegExReplace(Clipboard, "\r\n?|\n\r?", "`n")
|
||||||
|
|
12
custom_hangul.ahk
Normal file
12
custom_hangul.ahk
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||||
|
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||||
|
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||||
|
|
||||||
|
; I don't like any of Windows's provided IME key layouts because they use key
|
||||||
|
; combinations that I already have mapped.
|
||||||
|
; vk15 is latin/hangul toggle.
|
||||||
|
; vk19 is hanja convert.
|
||||||
|
; AppsKey is the context menu button, so combining it with right alt and ctrl is convenient for me.
|
||||||
|
|
||||||
|
>!AppsKey:: sendInput, {vk15}
|
||||||
|
>^AppsKey:: sendInput, {vk19}
|
13
midclick_fastscroll.ahk
Normal file
13
midclick_fastscroll.ahk
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||||
|
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||||
|
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||||
|
|
||||||
|
; Shift-T causes the mousewheel to scroll down.
|
||||||
|
; I used this to throw lots of dosh in Killing Floor.
|
||||||
|
MButton::
|
||||||
|
While GetKeyState("MButton", "P")
|
||||||
|
{
|
||||||
|
Click WheelDown
|
||||||
|
Sleep 20
|
||||||
|
}
|
||||||
|
Return
|
13
rapid_t.ahk
Normal file
13
rapid_t.ahk
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||||
|
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||||
|
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||||
|
|
||||||
|
; Shift-T causes the mousewheel to scroll down.
|
||||||
|
; I used this to throw lots of dosh in Killing Floor.
|
||||||
|
+T::
|
||||||
|
While GetKeyState("t", "P")
|
||||||
|
{
|
||||||
|
Click WheelDown
|
||||||
|
Sleep 20
|
||||||
|
}
|
||||||
|
Return
|
5
tab_click.ahk
Normal file
5
tab_click.ahk
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||||
|
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||||
|
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||||
|
|
||||||
|
Tab:: LButton
|
33
turboclick.ahk
Normal file
33
turboclick.ahk
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
rapid_switch := false
|
||||||
|
|
||||||
|
~*CapsLock:: rapid_switch := !rapid_switch
|
||||||
|
|
||||||
|
~*LButton::
|
||||||
|
If rapid_switch = 1
|
||||||
|
{
|
||||||
|
Loop
|
||||||
|
{
|
||||||
|
GetKeyState, var, LButton, P
|
||||||
|
If var = U
|
||||||
|
{
|
||||||
|
Break
|
||||||
|
}
|
||||||
|
Send {LButton}
|
||||||
|
sleep 20
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
~*RButton::
|
||||||
|
If rapid_switch = 1
|
||||||
|
{
|
||||||
|
Loop
|
||||||
|
{
|
||||||
|
GetKeyState, var, RButton, P
|
||||||
|
If var = U
|
||||||
|
{
|
||||||
|
Break
|
||||||
|
}
|
||||||
|
Send {RButton}
|
||||||
|
sleep 20
|
||||||
|
}
|
||||||
|
}
|
48
volumecontrol.ahk
Normal file
48
volumecontrol.ahk
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||||
|
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||||
|
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||||
|
|
||||||
|
; Alt-F11, Alt-F12 = sound down and up
|
||||||
|
; WINDOWS 7 USERS: You need
|
||||||
|
; `Send {Volume_Up}` instead of `SoundSet +5` and
|
||||||
|
; `Send {Volume_Down}` instead of `SoundSet -5`.
|
||||||
|
; The `SoundSet, +1, , mute` will still work okay.
|
||||||
|
|
||||||
|
vol_down(amount)
|
||||||
|
{
|
||||||
|
SoundSet -%amount%
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
vol_up(amount)
|
||||||
|
{
|
||||||
|
SoundSet +%amount%
|
||||||
|
SoundGet, sound_mute, Master, mute
|
||||||
|
if sound_mute = On
|
||||||
|
{
|
||||||
|
SoundSet, +0, , mute
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
!F11::
|
||||||
|
{
|
||||||
|
vol_down(5)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
+!F11::
|
||||||
|
{
|
||||||
|
vol_down(1)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
!F12::
|
||||||
|
{
|
||||||
|
vol_up(5)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
+!F12::
|
||||||
|
{
|
||||||
|
vol_up(1)
|
||||||
|
return
|
||||||
|
}
|
Loading…
Reference in a new issue