下载客户端

如何使用AutoHotkey进行按键绑定

2026-02-20 04:00:17
转载

AI智能总结导读

本文介绍了如何使用AutoHotkey v2.0为《PowerWash Simulator 2》(冲就完事模拟器2)设置按键绑定,提供了专属脚本,说明脚本仅在该游戏窗口激活时生效,还讲解了修改按键绑定的语法、操作步骤及脚本的局限性,也提及该方法经调整可用于多数游戏。

This is a guide (and script) to add keybinding via AutoHotkey until the devs actually add it. How To I was inspired to do this because of a) someone in the forum mentioned losing the use of their dominant hand and thus needing keybindings. The idea is originally from: https://steamcommunity.com/sharedfiles/filedetails/?id=447835974 The following code is an ahk-script. All it does is rebind keys when the active window is powerwash.exe. #Requires AutoHotkey v2.0 #SingleInstance ;This ensures that the remapping only happens in PW2 #HotIf WinActive('ahk_exe PowerWash Simulator 2.exe') /* IMPORTANT: The syntax is: ChangeMe::LeaveMeAlone - so you change the left key and leave the other alone. I have not done any presets, instead, if using this as is, you'd have the normal keybind. So for example: If you want to press k to move left, you'd have "k::a" as the keybind for "Left". If you want to have a key act like scrolling the mouse wheel down, you'd have "b::WheelDown" (assuming you want to bind it to "b"). For a list of available keybinds and their names, see: https://www.autohotkey.com/docs/v2/KeyList.htm Note: If you change a keybind, the original key still does the same, unless you also use it for a new keybind. So, changing "a::a" to "j::a" would make both j and a move left, unless you use a somewhere else. Limitations: This cannot change the displayed keys ingame. You have to remember your keybindings. This does not do is offer a rebind for looking around by moving the mouse because that's not a keybind. */ /*Mouse bindings*/ ; Left click LButton::LButton ; Right click RButton::RButton ; Wheel click Mbutton::MButton ; Scroll Wheel down (towards you) WheelDown::WheelDown ; Scroll Wheel up (away from you) WheelUp::WheelUp /*Movement*/ ; Up w::w ; Left a::a ; Down s::s ; Right d::d ; Sprint LShift::LShift ; Toggle Stance LCtrl::LCtrl ; Jump Space::Space /*Washer*/ ; Washers 1::1 ; Nozzles 2::2 ; Extensions 3::3 ; Rotate Nozzle/Refill Soap r::r ; Toggle free aim mode c::c /*Menus/Misc*/ ; Open/Close game menu Esc::Esc ; Open task list Tab::Tab ; Dirt Highlight q::q ; Interact e::e To run this, download and install Auto Hotkey 2 (official download: https://www.autohotkey.com/download/ahk-v2.exe). AHK is at its base a text replacement program, but it is capable of A LOT - changing keybinds is only a weak example. This method is usable for pretty much all games with small adjustments, but this specific script has all the keys used by PW2. Copy this and paste it into a text editor. Save with the ending ".ahk" and double click the file to start the script. You'll have a small green H in your notification area, because it runs in the background immediately. To edit, just open the file in a text editor. If the script is running, you have to reload it by either starting it via the file again or by right-clicking the taskbar symbol and selecting "Reload script". Instructions for changing the keybindings are in the script itself, but basically: Change the thing on the left of "::" to what you want to press and PW2 believes you've pressed the key the devs assigned. For a list of available keybinds and their names, see: https://www.autohotkey.com/docs/v2/KeyList.htm This does not change the displayed keys ingame (duh) nor replace the mouse movements for looking around. Hope this helps!

评论

共0条评论
face
inputImg
相关阅读
最新更新

工具辅助100%游戏完成(AutoHotkey)

本指南将介绍如何使用AutoHotKey(一款软件)来几乎完全自动完成游戏,同时不会遗漏任何奥格(Auger)且不会中断联系。 AutoHotKey是一款免费的…

2026-04-04 22:000赞 · 0评论

《冲就完事模拟器2》拓展包「探险活宝」公布预告

2025-12-19 17:012赞 · 0评论

用于自动完成每日任务的AHK脚本

Firestone IDLE RPG的AHK脚本 功能 1)完成公会远征 2)升级部队 脚本从激活到停用期间会循环执行这些操作。 这是用于持续AFK升级的最简单…

2026-02-20 07:000赞 · 0评论

《冲就完事模拟器2》全成就指南

前言 你可以通过Ctrl+F快速找到对应的成就 本作相对前作来说,添加了更多的工具:剪式升降机和绳降设备,让人有更新的体验。 本作也简化了皂液,不需要根据表面类…

2026-02-18 22:000赞 · 0评论

将Greenshot的功能整合到ShareX中

目前ShareX无法在快捷菜单中便捷使用多个命令行操作,所有命令会依次执行,无法进行选择。是的,您可以为命令行操作分配单独的热键,但不得不承认,为每个应用程序单…

2026-02-18 19:000赞 · 0评论

WASD + 拉伸全屏 AHK 脚本

将以下代码内容保存为.ahk文件,并安装AutoHotkey即可使用。 #SingleInstance, Force #MaxThreadsPerHotkey …

2026-03-26 22:000赞 · 0评论

如何在聊天中使用西里尔字母。

游戏内聊天无法输入西里尔字母,以下方法可帮助解决此问题。 此方法并非本人原创,早在2011年就已有人实现。 安装与使用步骤: 1. 下载工具【AutoHotke…

2026-02-18 16:000赞 · 0评论

即将到来的更新:多人游戏问题及其他内容

各位清洁大师们,我们正在为《PowerWash Simulator 2》制作首个补丁,力求尽快发布。对于那些在联机游玩时遇到困难的玩家,我们深表歉意。 此次更新…

2026-02-13 09:000赞 · 0评论

《神力科莎:清洁模拟 2》修复与更新

各位清洁大师们! 我们有一些关于当前更新和补丁的最新进展要与大家分享。 一个补丁正在进行全平台测试和提交流程,我们希望能在未来几周内将其推送给大家。该补丁将包含…

2026-02-13 09:000赞 · 0评论

《冲就完事模拟器2》公告

《冲就完事模拟器》新篇章公布:《与泥共舞》是该游戏的首款衍生作品,在这款游戏中,你不再是清理污垢,而是选择拥抱它。

2026-04-01 10:200赞 · 0评论
暂无更多

最新更新