Re:Ask HN: Weirdest hack that you ever saw in production?
by ghkbrew on Saturday March 24, 2018 @10:31PM
(#16670329)
I used to use autohotkey to send an F13 key press every couple minutes to avoid lockout on a work computer where I wasn't allowed to increase the timeout
Re:Ask HN: Weirdest hack that you ever saw in production?
by unixhero on Sunday March 25, 2018 @08:59AM
(#16671989)
Wait is Function keys above F12 still addressable?
Re:Ask HN: Weirdest hack that you ever saw in production?
by colejohnson66 on Sunday March 25, 2018 @09:22AM
(#16672053)
It’s Windows, so backwards compatibility mandates F13-F24 exist.
Re:Ask HN: Weirdest hack that you ever saw in production?
by striking on Sunday March 25, 2018 @10:25AM
(#16672296)
Certainly, my keyboard still has those buttons and I still use them
Re:Ask HN: Weirdest hack that you ever saw in production?
by jscholes on Sunday March 25, 2018 @09:40PM
(#16675933)
Which keyboard is this? I'm a keyboard-only user and would love to have an extra row of keys for shortcuts.
Re:Ask HN: Weirdest hack that you ever saw in production?
by duskwuff on Monday March 26, 2018 @02:54AM
(#16677132)
Can't speak for the parent, but Apple USB keyboards have F13-F19.
Re:Ask HN: Weirdest hack that you ever saw in production?
by CamTin on Sunday March 25, 2018 @10:30AM
(#16672318)
bash/X11 equivalent:
function mouse_around {
while true; do
sleep "$1"
xdotool mousemove_relative 1 1
xdotool mousemove_relative -- -1 -1
done
}
mouse_around 60
Re:Ask HN: Weirdest hack that you ever saw in production?
by krylon on Sunday March 25, 2018 @01:45PM
(#16673334)
Mandatory XKCD: https://xkcd.com/196/
Re:Ask HN: Weirdest hack that you ever saw in production?
by mars4rp on Sunday March 25, 2018 @03:59AM
(#16671244)
The script is overkill, just put some plastic under your mouse.
Re:Ask HN: Weirdest hack that you ever saw in production?
by r3vrse on Saturday March 24, 2018 @10:46PM
(#16670386)
Try this: http://www.zhornsoftware.co.uk/caffeine/
Use it all the time when working from home/moving around and I don’t want my laptop to lock every 15.
Re:Ask HN: Weirdest hack that you ever saw in production?
by sbierwagen on Sunday March 25, 2018 @12:31AM
(#16670769)
There's also a hardware solution: https://www.amazon.com/CRU-Inc-30200-0100-0013-CRU-DataPort-...
Or a powered turntable for your mouse, if you can't plug HID devices into your machine! https://www.amazon.com/Liberty-Mouse-Mover/dp/B079P592K8/
$ws = New-Object -COM wscript.shell;
while($true){ $ws.SendKeys("j"); Sleep 60;}
Ive used it for demos that way the computer doesnt lock before the demo starts, its pretty short and easy to remember. Also on windows if you spam SendKeys("{Left}") everything you type is backwards and when you hit the windows key it freezes the computer in an interesting way, pretty fun.