View Full Version : Use autohotkey to trun off/on CC (mumble)

04-09-2012, 07:12 PM
Hey all!

So, this is a quick mash up I did for a program called "Autohotkey" (Get it from here: http://www.autohotkey.com/). Basically, what it allows you to do is add or remove the CC access token with a press of a key. At this moment, the current hotkeys are Alt+C (to enable CC) and Shift+C (to disable CC).

To use it, follow these steps:
1) Download & install the program.
2) Make two new .ahk files (they are text files, so any word editing program works). One is for enabling CC and the other is for disabling CC (due to not having enough time, I haven't manage to make the script into 1 file yet)
3) Paste the first (http://pastebin.com/myPPUcqA) and the second (http://pastebin.com/PtJLLgnd) scripts into those 2 new .ahk files you made.
4) Double click on them to activate the program and the hotkeys.
5) Use the hotkey to enable/disable CC

*The first script enables CC and the second script disables CC.
*To edit the hotkeys, edit the first line of each script. This page (http://www.autohotkey.com/docs/Hotkeys.htm) has all the info about what hotkeys can be used)
*Due to nature of this script (and Mumble really not having a kinda function you can use with the AHK program), the script has to make the Mumble window active. This means that it might alt-tab out of your game (if in Fullscreen) or bring the Mumble window in front of Arma 2 game window (if in Windowed mode). Don't worry, it will automatically alt-tab back into the game.
*If you have the scripts running and you use the current default hotkeys outside of the game, side effects might happen.

If you have any questions/problems, shoot.

05-09-2012, 08:41 AM
What sort of script is that?

(And why is the code window only four lines long? o.O)

05-09-2012, 10:03 AM
Sorry, OP has been updated with proper info. Didn't have time yesterday to make it proper.

About the code window, blame whoever is in charge of the forums. I decided to use pastebin instead.