Matrix Games Forums

Battle Academy 2 is out now on iPad!A closer look at rockets in Space Program ManagerDeal of the Week - Pride of NationsA new update for Piercing Fortress EuropaNew screenshots for War in the West!Pike & Shot is now available!Server Maintenance Battle Academy 2 gets updated!Deal of the Week: Advanced Tactics Gold Ask Buzz Aldrin!
Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Scroll Wheel Zoom

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Current Games From Matrix.] >> [World War II] >> Combat Command Series >> Mods and Scenarios >> Scroll Wheel Zoom Page: [1]
Login
Message << Older Topic   Newer Topic >>
Scroll Wheel Zoom - 5/21/2011 5:35:12 PM   
junk2drive


Posts: 12901
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
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

_____________________________

Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."
Post #: 1
RE: Scroll Wheel Zoom - 5/21/2011 6:19:10 PM   
junk2drive


Posts: 12901
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
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.


< Message edited by junk2drive -- 2/5/2012 3:03:54 PM >


_____________________________

Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."

(in reply to junk2drive)
Post #: 2
RE: Scroll Wheel Zoom - 5/22/2011 12:20:15 AM   
Agent S


Posts: 1290
Joined: 9/21/2007
From: Melbourne, Australia
Status: offline
(oops)re-read your posts; old message redundant. I'm working through autohotkey now to see how I go.

< Message edited by Agent S -- 5/22/2011 12:28:57 AM >

(in reply to junk2drive)
Post #: 3
RE: Scroll Wheel Zoom - 5/22/2011 12:58:12 AM   
Budas

 

Posts: 9
Joined: 4/28/2011
Status: offline
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

(in reply to Agent S)
Post #: 4
RE: Scroll Wheel Zoom - 5/22/2011 1:13:40 AM   
junk2drive


Posts: 12901
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
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.

_____________________________

Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."

(in reply to Budas)
Post #: 5
RE: Scroll Wheel Zoom - 5/22/2011 1:15:52 AM   
junk2drive


Posts: 12901
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
Right click and empty spot like you do for setting your monitor and from the New popout select Autohotkey

_____________________________

Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."

(in reply to junk2drive)
Post #: 6
RE: Scroll Wheel Zoom - 5/22/2011 9:52:50 AM   
Budas

 

Posts: 9
Joined: 4/28/2011
Status: offline
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

Bud

(in reply to junk2drive)
Post #: 7
RE: Scroll Wheel Zoom - 5/22/2011 12:09:54 PM   
junk2drive


Posts: 12901
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
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.

< Message edited by junk2drive -- 5/22/2011 12:11:43 PM >


_____________________________

Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."

(in reply to Budas)
Post #: 8
RE: Scroll Wheel Zoom - 5/22/2011 1:41:05 PM   
Budas

 

Posts: 9
Joined: 4/28/2011
Status: offline
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

(in reply to junk2drive)
Post #: 9
RE: Scroll Wheel Zoom - 6/7/2011 7:17:03 AM   
tinajane

 

Posts: 3
Joined: 6/7/2011
Status: offline
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

(in reply to Budas)
Post #: 10
RE: Scroll Wheel Zoom - 6/7/2011 11:04:34 PM   
Wolfe


Posts: 670
Joined: 1/20/2008
From: Shropshire, UK
Status: offline
We've got our first spambot, we're not forgotten.

Or could he be the developer - only joking

_____________________________

"In War: Resolution. In Defeat: Defiance. In Victory: Magnanimity. In Peace: Goodwill." - Winston Churchill

(in reply to tinajane)
Post #: 11
RE: Scroll Wheel Zoom - 6/7/2011 11:56:46 PM   
Joe 98


Posts: 4033
Joined: 1/5/2001
From: Wollondilly, Sydney
Status: offline
As soon as Erik posted we got a spambot.

Hmmm.

-


(in reply to Wolfe)
Post #: 12
RE: Scroll Wheel Zoom - 2/5/2012 3:05:22 PM   
junk2drive


Posts: 12901
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
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.

_____________________________

Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."

(in reply to Joe 98)
Post #: 13
Page:   [1]
All Forums >> [Current Games From Matrix.] >> [World War II] >> Combat Command Series >> Mods and Scenarios >> Scroll Wheel Zoom Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.088