Random ahk/keybind scripts
Probably qol or scripts for streaming
Auto_Lap_Timer.ahk - Automatically keep track of how many runecrafting laps you've completed. Uses image of a completed inventory stack of runes to detect run completion, resets counter on chat image of dark mage. If this doesn't work for you, use the images I've included as a guide and replace them with screenshots of your own client. Most of the scripts which use image search rely on client settings to be the same to produce the same image, which isn't likely. Making your own images will garuntee it works.
Counter.ahk - Simple counter using hotkeys, originally meant to keep track of deaths. Saves to file to be used as an on screen element
OSRS_Scene_Switcher.ahk - Automatically switches scenes when the login button or the bank pin interface is visible in osrs
Lava_Runner_Overlay.ahk - On screen visual aid for when to trade binding necklace. Checks for the image of "25" inventory spaces. <---- Must be on fixed ingame with stretched mode enabled on 1920x1080 screen. ---->
-
Haven't tested with any other settings. If it doesn't work for you, update the image of the "25" text to what yours looks like.
-
Might revisit this to work no matter the settings, just seems like a lot of work. Unsure if OCR is fast enough to be worth while using.
Dart_Fletching_Rebind.ahk - !!!!REQUIRES AutoHotInterception!!!! | Rebind keys to Windows Mouse Keys, specifically used for dart fletching but could be modified to be used for other things. This is specifically a 1:1 input script. The old scripts for this use Class_DD.ahk, which is fine if you aren't on Windows 10 due to unsigned drivers. This script uses AutoHotInterception, which uses Interception, which... has signed drivers!
-
Download and install the latest Interception Driver
- Download latest .zip release
- Extract zip somewhere on your computer
- Run CMD as admin
- CD to the place you extracted the driver installation
*\Interception\command line installer - Run command
install-interception.exe /install
-
Download the latest AHI release
- Download latest .zip release
- Extract zip somewhere on your computer
-
Copy contents of Interception's
libraryfolder into AHI'slibfolder- Specifically the
x86andx64folders, you DO NOT need to copyinterception.h
- Specifically the
-
Run Unblocker.ps1
- In AHI's
libfolder, runUnblocker.ps1as admin- Unblocker.ps1 should allow you to run the Interception DLL's, if they are blocked from running
- This can be done manually by right clicking the DLLs, selecting Properties, and checking a "Block" box if it exists.
- Unblocker.ps1 should allow you to run the Interception DLL's, if they are blocked from running
- In AHI's
-
Get VID/PID of the keyboard you are using
- In AHI's main folder, run
Monitor.ahk - Check one of the keyboard ID's at a time, and try to type something
- Checking all of the ID's can sometimes cause Monitor.ahk to crash
- Once you see input in the box from the Keyboard you are using, transfer the VID & PID into the script on the 7th line
global keyboardId := AHI.GetKeyboardId(VID HERE, PIN HERE)
- In AHI's main folder, run
-
Transfer the contents of AHI's
libinto AHK's installationlibfolder*\AutoHotkey\lib