-
Ok, I spent 3 hours trying to get AHK working with two installs of AoC on the same computer... No dice.
The only keys I want to send to the second window are 3, 4, 5, E, R, F, Q, SPACE, and the LSHIFT plus the previous. Can anyone give me a quick explanation of what my script file should look like?
-
Are you asking about AHK (AutoHotkey) or HotkeyNet?
-
Hehe, I fixed ze problem by realizing that I'm an idiot.
-
I know the feeling all too well! :)
-
Ugh.
Got it working, which is awesome. The downside is...
Whenever I click a key using HKN to send it to both windows it brings the second window to the foreground. This means when I'm mouse-looking and I click a key it drops mouselook. Is there anyway to set it up so that it doesn't go back and forth between the screens?
-
With WoW, the answer would be yes. You would change "SendWin" to "SendWinM". Unfortunately that doesn't work with AoC. :(
Maybe we can figure out a way. Hmm. Here's something you can try. Make a hotkey like this:
Code:
<Hotkey F1>
<TargetWindow NAME-OF-MAIN-AOC-WINDOW>
<AlwaysOnTop>
Hit that once to lock the main AoC on top, then try what you've been doing.
-
I don't know if you can figure this out, but... It would only swap windows from aoc1 to aoc2. If I was mouselooking in aoc2 and hit a button it would NOT activate the other window and would let me continue to mouselook.
I added in the AlwaysOnTop lines and it still didn't fix it. Then, I changed
<BroadcastKey 3, 4, 5, e, r, f, q, SPACE, lshift SPACE, lshift 3, lshift 4, lshift 5, lshift e, lshift r, lshift f, lshift q>
<SendLabel aoc1, aoc2>
to
<BroadcastKey 3, 4, 5, e, r, f, q, SPACE, lshift SPACE, lshift 3, lshift 4, lshift 5, lshift e, lshift r, lshift f, lshift q>
<SendLabel aoc2, aoc1>
And it fixed everything. I don't really care HOW it fixed it just that it fixed it :) Now that that's good... I don't have any complaints. I'm getting 45-50fps on my main window and 20-30 on my second window with decent graphics settings.
-
Grats on getting it working. Would you mind pasting your labels here? I'm curious.
By the way, I should have warned you that once you loaded that hotkey I suggested and hit F1, the targeted AOC would be locked on top and the other one could never be brought to the foreground until you closed the targted one and reopened it. (Of course if it had worked there would have been other hotkeys that would reverse the situation gracefully.)
-
This is my script for AoC right now. I just started doing HKN yesterday so I'm sure there are ways to play with it and make it more efficient. Basically, I load up both games and get them going and then hit function keys f1 through f8 and I get two fullscreen AoC's with great FPS and all of my keybinds going back and forth... Plus the Pause/Break button pauses the macro so that I can type. It's just like Keyclone except it takes a bit more manual input to get it going.
<hotkey F1>
<sendpc local>
<rename "Age of Conan" aoc1>
<rename "Age of Conan" aoc2>
<Label aoc1 local SendWin aoc1>
<Label aoc2 local SendWin aoc2>
<BroadcastKey 3, 4, 5, e, r, f, q, SPACE, lshift SPACE, lshift 3, lshift 4, lshift 5, lshift e, lshift r, lshift f, lshift q>
<SendLabel aoc2, aoc1>
<hotkey F2>
<sendpc local>
<TargetWindow aoc1>
<RemoveWinFrame>
<hotkey F3>
<sendpc local>
<TargetWindow aoc2>
<RemoveWinFrame>
<Hotkey F4>
<TargetWindow aoc1>
<SetWinSize 1280 1024>
<Hotkey F5>
<TargetWindow aoc2>
<SetWinSize 1280 1024>
<Hotkey F6>
<TargetWindow aoc1>
<SetWinPos 0 0>
<Hotkey F7>
<TargetWindow aoc2>
<SetWinPos 1280 0>
<Hotkey F8>
<SendPC local>
<TargetWindow aoc1>
<AlwaysOnTop on>
<hotkey Pause>
<sendpc local>
<ToggleHotkeys>
-
I'm glad to hear you got it set up. If you can think of anything I can do to make this easier for other people, please let me know.
Is "AlwaysOnTop" helping?
You didn't ask for suggestions, so I won't make any. Well maybe just one thing. Some of your hotkeys can be combined so you don't have to push so many keys when you start up.