ITT: we post our startup.ahk scripts or just useful scripts in general
My system doesn't need a script to fix it every time it starts.
Send input (the number 2) at a random interval. f8 to pauseloop
{
sendinput {2}
Random, SleepAmount, 60, 15
Sleep, %SleepAmount%
}
return
f8::
Pause
Suspend
return
Toggle shift$shift::
Shifted:=!Shifted
If (shifted)
Send,{Shift Down}
else
Send,{Shift UP}
REturn
Center active window with LShift+CLShift & c::
WinExist("A")
WinGetPos,,, sizeX, sizeY
WinMove, (A_ScreenWidth/2)-(sizeX/2), (A_ScreenHeight/2)-(sizeY/2)
return
Open cmd in current dir; WIN+C
; Opens CMD in the current dir
#c::
{
openShellInCurrent("conemu")
Return
}
Fix pressing ] and enter at the same timelastkey:=0
~vkdd::
lastkey:=a_tickcount
keywait vkdd
return
~vkdc::
lastkey:=a_tickcount
keywait vkdc
return
~enter::
lastenter:=a_tickcount
keywait enter
return
#if lastkey>a_tickcount-200
enter::
lastkey:=0
lastenter:=a_tickcount
send {backspace}{enter down}
keywait enter
send {enter up}
return
#if lastenter>a_tickcount-200
vkdd::
lastenter:=0
keywait vkdd
return
vkdc::
lastenter:=0
keywait vkdc
return
#if
>>57992012
How big do they need to make the ENTER key for you?
>>57991704
>a whole lot of bullshit
jesus, you need fucking scripts to do that?!?!?
>>57992012
I always accidentally hit enter when I just want an apostrophe.
ITT: retarded skiddies
avoid double click on physical single click on aging mouseTimeSinceClick1 := 0
TimeSinceClick2 := 0
xbutton2::
{
if (A_TickCount - TimeSinceClick1) < 150
return
else
{
TimeSinceClick1 := A_TickCount
send ^w
return
}
}
xbutton1::
{
if (A_TickCount - TimeSinceClick2) < 150
return
else
{
TimeSinceClick2 := A_TickCount
send ^{tab}
return
}
}
this is just for mice double clicking on the two extra thumb buttons, and i use to close tab or move to next tab, for one-hand browsing.