Page 1 of 1
Scroll Wheel Zoom
Posted: Sat May 21, 2011 2:35 pm
by junk2drive
Markshot wrote this a while back at the wargamer. I was searching for autohotkey posts and realised that this should work for CCME. Zoom is controlled by + and - on the keyboard in CCME.
http://www.wargamer.com/forums/tm.aspx? ... autohotkey
RE: Scroll Wheel Zoom
Posted: Sat May 21, 2011 3:19 pm
by junk2drive
Here is the script, enjoy!
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
WheelDown::-
WheelUp::=
Escape::
ExitApp
There should be a way to have it active only when the game is active in a window but I haven't figured that out yet.
RE: Scroll Wheel Zoom
Posted: Sat May 21, 2011 9:20 pm
by Magpius
(oops)re-read your posts; old message redundant. I'm working through autohotkey now to see how I go.
RE: Scroll Wheel Zoom
Posted: Sat May 21, 2011 9:58 pm
by Budas
I've used this utility and it works well. I think you'll find that the copy script should be edited. Wheel up is entered as '=' when it should be '+'.
The thing that didn't work for me was that the option to write a new script did not appear when pressing the right key at the desktop. I got round this by simply editing the script which comes with the utility.
Bud
RE: Scroll Wheel Zoom
Posted: Sat May 21, 2011 10:13 pm
by junk2drive
The manual may say + and - but you don't have to press shift + = to get + to zoom. I tried that
Anyway I tested it before posting and it works.
RE: Scroll Wheel Zoom
Posted: Sat May 21, 2011 10:15 pm
by junk2drive
Right click and empty spot like you do for setting your monitor and from the New popout select Autohotkey
RE: Scroll Wheel Zoom
Posted: Sun May 22, 2011 6:52 am
by Budas
This is odd. I've been using this for some while now - it's been v.v. useful. However I don't get Autohotkey in the menu after right clicking - no idea why. Also '=' does not work for me either.
It's also maybe worth saying that whilst the script is running, the scroll up and down function doesn't work - sounds obvious but it took me ages to realise that if you aren't using it for zoom purposes, there is a menu item to suspend the script.
I suppose most folks would realise that, but then I'm old. I'm also very nervous today - in the UK this is 'Survival Sunday'. Five teams, including mine, face relegation from the Premier League. For the majority of people this is only football; for me it is life itself. Bet you're glad to know all that [:D]
Bud
RE: Scroll Wheel Zoom
Posted: Sun May 22, 2011 9:09 am
by junk2drive
In My Documents I have AutoHotkey.ahk and on my desktop I have AutoHotkey.exe and the script I made ccmescroll.ahk
I right click my ccmescroll.ahk and select Run Script. That puts a tray icon for the script. Start the game and it works.
Could be USA keyboard vs UK? My + is on the = key that is on the upper right next to backspace.
RE: Scroll Wheel Zoom
Posted: Sun May 22, 2011 10:41 am
by Budas
Really strange. Like you I have the .ahk in My Docs and the exe on desktop but not the script. I got this about a year ago - could be longer - maybe I have a different version. I remember when I first got it being a bit frustrated with it for a while.
As I said I got around it by simply customising the script which came with the utility and bunged in hot keys to suit my needs.
It is a nifty little program which comes in very handy - certainly works well with CC.
Bud
RE: Scroll Wheel Zoom
Posted: Tue Jun 07, 2011 4:17 am
by tinajane
I got around it by simply customising the script which came with the utility and bunged in hot keys to suit my needs. [:@][;)]
Cartier Love BraceletCartier Ringsartier wedding rings
RE: Scroll Wheel Zoom
Posted: Tue Jun 07, 2011 8:04 pm
by Wolfe1759
We've got our first spambot, we're not forgotten.
Or could he be the developer - only joking [:'(]
RE: Scroll Wheel Zoom
Posted: Tue Jun 07, 2011 8:56 pm
by Fred98
As soon as Erik posted we got a spambot.
Hmmm.
-
RE: Scroll Wheel Zoom
Posted: Sun Feb 05, 2012 1:05 pm
by junk2drive
I made a similar script for another game and found this trick
Escape::
ExitApp
Add the above to your script and you can press Esc when you are done with the game to close the script.