Scroll Wheel Zoom (Full Version)

All Forums >> [Current Games From Matrix.] >> [World War II] >> Combat Command Series >> Mods and Scenarios



Message


junk2drive -> Scroll Wheel Zoom (5/21/2011 5:35:12 PM)

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?m=389667&high=autohotkey




junk2drive -> RE: Scroll Wheel Zoom (5/21/2011 6:19:10 PM)

Here is the script, enjoy!

quote:

#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.




Magpius -> RE: Scroll Wheel Zoom (5/22/2011 12:20:15 AM)

(oops)re-read your posts; old message redundant. I'm working through autohotkey now to see how I go.




Budas -> RE: Scroll Wheel Zoom (5/22/2011 12:58:12 AM)

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




junk2drive -> RE: Scroll Wheel Zoom (5/22/2011 1:13:40 AM)

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.




junk2drive -> RE: Scroll Wheel Zoom (5/22/2011 1:15:52 AM)

Right click and empty spot like you do for setting your monitor and from the New popout select Autohotkey




Budas -> RE: Scroll Wheel Zoom (5/22/2011 9:52:50 AM)

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




junk2drive -> RE: Scroll Wheel Zoom (5/22/2011 12:09:54 PM)

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.




Budas -> RE: Scroll Wheel Zoom (5/22/2011 1:41:05 PM)

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




tinajane -> RE: Scroll Wheel Zoom (6/7/2011 7:17:03 AM)

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




Wolfe1759 -> RE: Scroll Wheel Zoom (6/7/2011 11:04:34 PM)

We've got our first spambot, we're not forgotten.

Or could he be the developer - only joking [:'(]




Fred98 -> RE: Scroll Wheel Zoom (6/7/2011 11:56:46 PM)

As soon as Erik posted we got a spambot.

Hmmm.

-





junk2drive -> RE: Scroll Wheel Zoom (2/5/2012 3:05:22 PM)

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.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
2.84375