# AutoHotkey

**URL:** <https://forums.sourceruns.org/t/autohotkey/1273>\
**Category:** ⚙ Technical Support\
**Created:** [June 21, 2005, 8:36am UTC](https://forums.sourceruns.org/t/autohotkey/1273 "2005-06-21T08:36:00Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://forum-content.sourceruns.org/original/1X/fba7d899f85b067a16647b39a5fa8913d95f2b05.png) [@system](https://forums.sourceruns.org/u/system)\
**Post date:** [June 21, 2005, 8:36am UTC](https://forums.sourceruns.org/t/autohotkey/1273/1 "2005-06-21T08:36:00Z")

</div>

You can get AutoHotkey from [www.autohotkey.com](http://www.autohotkey.com) for free.Use this script with AHK to ease bunny hopping:CODE \*Space::Loop{GetKeyState, state, Space, Pif State = U; The button has been released, so stop the loop.break; Otherwise:Send, {Space}Sleep, 1; i.e. 30 ms delay between clicks. Adjust this value as needed.}returnYou can change “Space” to whatever you want to hold down to jump. The names of the buttons are in AHK Help file under “Key List (Keyboard, Mouse, Joystick)” The third “Space” must be set to what you have binded jumping to in Half-Life 2.

---

<div class="post-metadata">

**Author:** ![system](https://forum-content.sourceruns.org/original/1X/fba7d899f85b067a16647b39a5fa8913d95f2b05.png) [@system](https://forums.sourceruns.org/u/system)\
**Post date:** [June 24, 2005, 11:54am UTC](https://forums.sourceruns.org/t/autohotkey/1273/2 "2005-06-24T11:54:00Z")

</div>

QUOTE \*NumpadMult::Pause, ToggleNumpadMult \<= All key do you wantAdd this in AutoHotKey.ini to pause the script in game :D[Edit] : replace the “return” of end of scriptQUOTE \*NumpadSub::Loop{GetKeyState, state, Space, Pif State = U; The button has been released, so stop the loop.break; Otherwise:Send, {Space}Sleep, 30 ; i.e. 30 ms delay between clicks. Adjust this value as needed.}\*NumpadMult::pause, Togglereturn

---

<div class="post-metadata">

**Author:** ![system](https://forum-content.sourceruns.org/original/1X/fba7d899f85b067a16647b39a5fa8913d95f2b05.png) [@system](https://forums.sourceruns.org/u/system)\
**Post date:** [July 7, 2005, 12:23pm UTC](https://forums.sourceruns.org/t/autohotkey/1273/3 "2005-07-07T12:23:00Z")

</div>

Does know a script that works with the latest version? (version 1.0.36.03)

---

<div class="post-metadata">

**Author:** ![system](https://forum-content.sourceruns.org/original/1X/fba7d899f85b067a16647b39a5fa8913d95f2b05.png) [@system](https://forums.sourceruns.org/u/system)\
**Post date:** [July 7, 2005, 7:38pm UTC](https://forums.sourceruns.org/t/autohotkey/1273/4 "2005-07-07T19:38:00Z")

</div>

I’ve not tried the latest version, but I think the best thing to do is to use an older version or wait till they fix it (if there is a bug).

---

<div class="post-metadata">

**Author:** ![system](https://forum-content.sourceruns.org/original/1X/fba7d899f85b067a16647b39a5fa8913d95f2b05.png) [@system](https://forums.sourceruns.org/u/system)\
**Post date:** [July 7, 2005, 11:36pm UTC](https://forums.sourceruns.org/t/autohotkey/1273/5 "2005-07-07T23:36:00Z")

</div>

Could you link me to an older version? I’m having a hard time finding an older version that works. ☹

---

<div class="post-metadata">

**Author:** ![system](https://forum-content.sourceruns.org/original/1X/fba7d899f85b067a16647b39a5fa8913d95f2b05.png) [@system](https://forums.sourceruns.org/u/system)\
**Post date:** [July 8, 2005, 4:49am UTC](https://forums.sourceruns.org/t/autohotkey/1273/6 "2005-07-08T04:49:00Z")

</div>

I’ll give the one I’m using when I get home. Meanwhile, at work, I’m going to test the latest version if I have a chance.EDIT: OK, it gives the same error message as before, so my guess is it’s going to be fixed in the next version…

---

<div class="post-metadata">

**Author:** ![system](https://forum-content.sourceruns.org/original/1X/fba7d899f85b067a16647b39a5fa8913d95f2b05.png) [@system](https://forums.sourceruns.org/u/system)\
**Post date:** [July 8, 2005, 9:14am UTC](https://forums.sourceruns.org/t/autohotkey/1273/7 "2005-07-08T09:14:00Z")

</div>

OK, here is the 1.0.27.00 installer:[AutoHotkey](http://www.free-ftp.org/samppa/AutoHotkeyInstall.exe)EDIT: Seems like the whole hosting service provider was shut down. Just ask if you need to download it.

---

<div class="post-metadata">

**Author:** ![system](https://forum-content.sourceruns.org/original/1X/fba7d899f85b067a16647b39a5fa8913d95f2b05.png) [@system](https://forums.sourceruns.org/u/system)\
**Post date:** [July 8, 2005, 6:56pm UTC](https://forums.sourceruns.org/t/autohotkey/1273/8 "2005-07-08T18:56:00Z")

</div>

Thanks dude. Now I can stop punishing my keyboard. 😃

---

<div class="post-metadata">

**Author:** ![system](https://forum-content.sourceruns.org/original/1X/fba7d899f85b067a16647b39a5fa8913d95f2b05.png) [@system](https://forums.sourceruns.org/u/system)\
**Post date:** [July 20, 2005, 9:47am UTC](https://forums.sourceruns.org/t/autohotkey/1273/9 "2005-07-20T09:47:00Z")

</div>

btw, is it allowed to use such a script for speedrunning??using a script like that while playing a multiplayer game is cheating, as some kicks taught me. and you must not cheat while speedrunning i think…

---

<div class="post-metadata">

**Author:** ![system](https://forum-content.sourceruns.org/original/1X/fba7d899f85b067a16647b39a5fa8913d95f2b05.png) [@system](https://forums.sourceruns.org/u/system)\
**Post date:** [July 20, 2005, 1:39pm UTC](https://forums.sourceruns.org/t/autohotkey/1273/10 "2005-07-20T13:39:00Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://forum-content.sourceruns.org/original/1X/fba7d899f85b067a16647b39a5fa8913d95f2b05.png) [@system](https://forums.sourceruns.org/u/system)\
**Post date:** [July 26, 2005, 7:56am UTC](https://forums.sourceruns.org/t/autohotkey/1273/11 "2005-07-26T07:56:00Z")

</div>

AHK is not considered a cheat by SDA. Check out Spider-Waffle’s [run for Opposing Force](http://speeddemosarchive.com/OpposingForce.html), which uses scripts and is in SDA. It’s one of the greatest speed runs I’ve ever seen.

---

<div class="post-metadata">

**Author:** ![system](https://forum-content.sourceruns.org/original/1X/fba7d899f85b067a16647b39a5fa8913d95f2b05.png) [@system](https://forums.sourceruns.org/u/system)\
**Post date:** [August 15, 2005, 12:50am UTC](https://forums.sourceruns.org/t/autohotkey/1273/12 "2005-08-15T00:50:00Z")

</div>

Hi, after a year of playing other games than hl2 I got back to this site 😉 and realized that the script doesn’t work with the new Version of Autohotkey and created a new one:CODE SetKeydelay, 30\*Space::Send, {Space}returnIt’s much shorter than the old one and is quite cute

---

<div class="post-metadata">

**Author:** ![system](https://forum-content.sourceruns.org/original/1X/fba7d899f85b067a16647b39a5fa8913d95f2b05.png) [@system](https://forums.sourceruns.org/u/system)\
**Post date:** [August 15, 2005, 8:05am UTC](https://forums.sourceruns.org/t/autohotkey/1273/13 "2005-08-15T08:05:00Z")

</div>

im quite cute

---

<div class="post-metadata">

**Author:** ![system](https://forum-content.sourceruns.org/original/1X/fba7d899f85b067a16647b39a5fa8913d95f2b05.png) [@system](https://forums.sourceruns.org/u/system)\
**Post date:** [August 15, 2005, 8:06am UTC](https://forums.sourceruns.org/t/autohotkey/1273/14 "2005-08-15T08:06:00Z")

</div>

it wud have been cuter if i logged in \<\_\<

---

<div class="post-metadata">

**Author:** ![system](https://forum-content.sourceruns.org/original/1X/fba7d899f85b067a16647b39a5fa8913d95f2b05.png) [@system](https://forums.sourceruns.org/u/system)\
**Post date:** [August 15, 2005, 10:10am UTC](https://forums.sourceruns.org/t/autohotkey/1273/15 "2005-08-15T10:10:00Z")

</div>

To me it seems like it has a pause in the beginning just like when you hold space in a text field. 😉

---

<div class="post-metadata">

**Author:** ![system](https://forum-content.sourceruns.org/original/1X/fba7d899f85b067a16647b39a5fa8913d95f2b05.png) [@system](https://forums.sourceruns.org/u/system)\
**Post date:** [August 15, 2005, 1:22pm UTC](https://forums.sourceruns.org/t/autohotkey/1273/16 "2005-08-15T13:22:00Z")

</div>

hm this pause doesnt exist with the 1st script?maybe this here terminates the delay:CODE [HKEY\_USERS.Default\Control Panel\Keyboard]“InitialKeyboardIndicators”="2"“KeyboardDelay”="0"“KeyboardSpeed”=“31”

---

<div class="post-metadata">

**Author:** ![system](https://forum-content.sourceruns.org/original/1X/fba7d899f85b067a16647b39a5fa8913d95f2b05.png) [@system](https://forums.sourceruns.org/u/system)\
**Post date:** [August 15, 2005, 1:59pm UTC](https://forums.sourceruns.org/t/autohotkey/1273/17 "2005-08-15T13:59:00Z")

</div>

I think it’s better to have that delay as it’s easier to type.

---

<div class="post-metadata">

**Author:** ![system](https://forum-content.sourceruns.org/original/1X/fba7d899f85b067a16647b39a5fa8913d95f2b05.png) [@system](https://forums.sourceruns.org/u/system)\
**Post date:** [August 15, 2005, 2:11pm UTC](https://forums.sourceruns.org/t/autohotkey/1273/18 "2005-08-15T14:11:00Z")

</div>

IIIIII tttttthinngk I know what you mean 😉

---

<div class="post-metadata">

**Author:** ![DaleLewill](https://b-cdn.sourceruns.org/letter_avatar_proxy/v4/letter/d/bc79bd/32.png) [@DaleLewill](https://forums.sourceruns.org/u/DaleLewill)\
**Post date:** [August 15, 2005, 9:08pm UTC](https://forums.sourceruns.org/t/autohotkey/1273/19 "2005-08-15T21:08:00Z")

</div>

QUOTE CODE SetKeydelay, 30\*Space::Send, {Space}returnI’m totally lost when you guys talk about scripts/codes, but the “30” indicates the 30ms between “pushing” the space-button right?if I’m right about this then:30ms should be changed for 1ms because if it’s on 30ms you can’t do the “speedy-up-ladder” trick (as seen on canals\_03).(trick is: pushing AHK+crawl+up on ladder = Fly up ladder…)

---

<div class="post-metadata">

**Author:** ![Drunksailor](https://b-cdn.sourceruns.org/letter_avatar_proxy/v4/letter/d/8edcca/32.png) [@Drunksailor](https://forums.sourceruns.org/u/Drunksailor)\
**Post date:** [September 8, 2005, 6:20am UTC](https://forums.sourceruns.org/t/autohotkey/1273/20 "2005-09-08T06:20:00Z")

</div>

could someone hook me up with an Lalt jump script? havnt been playing hl2 for a long time now and i cant remember how to make one.

[Next page](https://forums.sourceruns.org/t/autohotkey/1273.md?page=2)
