Log in

View Full Version : 1 key toggle for action pages



Katharsis
07-08-2008, 10:49 AM
Most of my characters are still quite young and they just don't need 6 pages of action buttons and I don't want to tie up extra keys to change pages.
Using HotkeyNet one can create a single key switch to toggle two or more pages. I've found this to be better than changing shift states using Nostromo or Saitek gamepads.
The code below will toggle Action Page 1 & 2 using F12 as the hotkey by checking and changing the state of ScrollLock.


//Change Action Page
<Hotkey ScrollLockOn F12>
<SendFocusWin>
<Key Shift 2>
<Key ScrollLock>

<Hotkey ScrollLockOff F12>
<SendFocusWin>
<Key Shift 1>
<Key ScrollLock>


You could also use this ability as a cast sequence among multiple characters. For example, the first press of F12 in the code above triggers <Key Shift 2> and the second press fires off <Key Shift 1>. But, you could use shortcuts to cast sequence maros instead so the first press would begin a cast sequence with one or more characters and the second press would begin a different cast sequence with other characters. The third press would trigger the second spell of the first sequence and so on and so on.

Freddie says that HKN can be further utilized to up the number to 8. ('http://www.hotkeynet.com/phpBB3/viewtopic.php?f=3&t=249&st=0&sk=t&sd=a&start=10#p1783')

Depherios
07-08-2008, 11:39 AM
You can use the standard internal action bar paging to do this too. Before I started running infinibar I was using the /swapactionbar 1 7 style macros with bartender and Autohotkey to add a few more pages when I held down multiple modifiers (i.e. shift+ctrl shift states) -- This has the doubled effect of letting me have a few other buttons not on that bar use [actionbar:1] style conditionals to page with that bar

You can make a macro to do that in game though, if you find that easier or more reliable.

Try:

/changeactionbar [actionbar:1] 2; [actionbar:2] 3; [actionbar:3] 1;

Katharsis
07-08-2008, 12:14 PM
Thanks, Depherios! I did not even know about /changeactionbar.
I appreciate that.