
If that was a solution then programs like AHK wouldn't exist, and none of us would be here.Įdit to add: I posted about this on the SinglePlayerCommands thread and realized it was more of a Worldedit issue than SPC, so I also posted in the Worldedit thread. Please try to refrain from suggesting I use another key configuration. The extra key strokes may not seem like too much trouble to you, and I've almost got myself trained to do them, but as often as I use them it gets really annoying - even more so when I forget.

Type commands in the console (with spaces in them) WITHOUT having to hit another key to suspend AHK (and yet another to re-enable it) Set pos2, use brushes, replace using the /repl tool, get info using /info tool etc with the space barĤ. Place blocks, split stacks, shoot arrows, etc with the space barģ.
SEND KEYCLICK TO MINECRAFT AUTOHOTKEY HOW TO
The above script works just fine, but what I would like to be able to do is eliminate the need to manually suspend the script when I want to type in the console.Īfter seeing this thread I'm intrigued by some other things I see here, so really, the problem is my own disingenuousness.Ĭan anyone here tell me how to do ALL of the following:Ģ. I've been using the same bindings for FPS-type games since Doom I. I would like to bind both sets of functions to the space-bar. MC now lets me bind it's own 'use' function to the space bar, but Worldedit's 'use' (brushes, info, repl, pos2 etc) stays bound to mouse-button-2. When MC 1.8 came out with the ability to bind functions to mouse keys, I thought I could get around using AHK (and the only reason I want to is because of the extra key-strokes for suspending/re-enabling the script). SPACE::RButton space to Place/Use/Split Stack

RButton::N reverse with Right Mouse Button Fixwater in radius 10, good for swimming.Īhh, perhaps someone here can help me with my issue.

Note that ^=Ctrl, so for example "^1" means you need to press Ctrl-1. Below is a script that gives hotkeys for the most common commands, for instance Ctrl-C to copy, Ctrl-V to paste and so on. I think that Worldedit and Autohotkey is a match made in heaven. SetWorkingDir %A_ScriptDir% Ensures a consistent starting directory. SendMode Input Recommended for new scripts due to its superior speed and reliability. #NoEnv Recommended for performance and compatibility with future AutoHotkey releases. You can easily make your own, just by using this as a template. I have the serveradmin commands I use the most, mapped up to other hotkeys. Autocrouch, toggled with caps lock, you won't fall down, as long as caps lock is down. Autorun, toggled with mousebutton 5, no more holding down W for endless amounts of time. Automine, toggled with mousebutton 4, your character will mine until the button is clicked again.

Half of it was written by fnordcircle of the Something Awful forums, the rest by me. I will start off with posting the script I use right now for Minecraft. Do you have some good scripts you want to share with us? Also, if someone have questions, please ask. This is a thread for discussing use of autohotkey macros in minecraft. Desember: Bugfixed the Worldedit script and uploaded the script as a file.Īutohotkey is a program that lets you create hotkeys for different commands.
