[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

AutoHotkey

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 9
Thread images: 1

File: tfw no higher res available.jpg (83KB, 1343x1137px) Image search: [Google]
tfw no higher res available.jpg
83KB, 1343x1137px
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 pause
loop

{

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+C

LShift & 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 time

lastkey:=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 mouse

TimeSinceClick1 := 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.
Thread posts: 9
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.