Jump to content
Sign in to follow this  

Rebind Keyboard Key to Mouse Side Buttons

Recommended Posts

Good evening good people's of Autoit forums, I've been having issues making a working script that will let me rebind keyboard keys to my mouse side buttons. The game I'm playing doesn't support mouse side buttons as being bindable. I'm trying to get Control+A and remapped to i guess it would be mouse buttons 4 and 5. Could I trouble any of you gentleman/ladies to help me out, It would be greatly appreciated.

I've tried Autohotkeys but the script wouldn't work with the game running, it worked in anything else which was weird. But then i remembered Autoit, However I'm extremely new to i guess the language... Autoit uses.

Thank you for your time.

Edited by Path0gen

Share this post

Link to post
Share on other sites

I did... I suppose my request pertains to the "Interaction" aspect of that rule, I apologize, I figured remapping a simple key was a gray area. Though I don't quite understand why simply changing A to B or to Mouse5 is shunned as if it was as heinous as botting, or automating a game to play itself. It simply facilitates a binding layout, which is why nearly every video game in existence allows you to do so, of which I'm sure you're aware.

Again i apologize for wasting your time, I'll continue my search elsewhere.

Have a good night.

Edited by Path0gen

Share this post

Link to post
Share on other sites

I agree with you, this isn't really interaction with a game, remapping a button is something external to games, but anyway, in autoit im not sure how to do it, but i believe there was a program called keytweak or something, that allows you to remapp keys, not sure this was the name...


Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples


Share this post

Link to post
Share on other sites


The rules are quite clear - you openly stated that this script was to interact with a game and so the thread instantly becomes illegal. Thread locked. :naughty:


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:


ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area


Share this post

Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this  

  • Create New...