Log in

View Full Version : Keyclone Hotstring help please - 3 characters, 2 variations?



Brookie
11-28-2008, 12:37 AM
Character 1:
F = Assist1
Ctrl+alt+F = Assist3

Character2:
F= Assist2
Ctrl+alt+F = Assist1


Character3:
F = Assist3
Ctrl+alt+F= Assist2

I'm missing something, pretty sure with a void of targets when sending something like assist2 to Character1....

Heres whats going on.

I want to hit "F" on the client I'm using and it send CTRL+ALT+F to all non-focused clients.
Then I want to be able to switch to any of the clients and hit F and it send CTRL+ALT+F to all other clients, including the one I was previously on.

I can get this to work on two, but adding in a 3rd is boggling my mind. Please help!


More Info:
F will be a macro to jamba make me leader.
Ctrl+alt+F will be a macro to follow and assist the party leader.

The current problem is that setting up this macro keeps hitting F on clients I don't have focused...making them switch to leader when I only want my focused client to be able to hit F and turn into leader.

olipcs
11-28-2008, 06:58 AM
The problem you are having is, that for getting this to work in keyclone you would have to define the following hotstrings/keymaps:

Character 1:
F = Assist1
Ctrl+alt+F = Assist2
Ctrl+alt+F = Assist3


Character2:
F= Assist2
Ctrl+alt+F = Assist1
Ctrl+alt+F = Assist3

Character3:
F = Assist3
Ctrl+alt+F = Assist1
Ctrl+alt+F= Assist2

And this can't be done in keyclone because there cant be two lines in a keymap with the same activation keys (like 'Ctrl+alt+F') and different commandStrings (like 'assist2,assist3')
And the other way around can'T be used either becasue there cant be differen command-Stings for the same activation key.

So I personally do not see a way to do exactly this in keyclone (maybe i'm wrong), because keyclones focus is not hotstringing but broadcasting (thats why i recommended hotkeynet in the other thread for this, as hkn is designed for hotstringing).

What you can do as a work-around, but only if you don't need shift+F is:

Character 1:
F = Assist1
Shift+Ctrl+alt+F = Assist2
Ctrl+alt+F = Assist3


Character2:
F= Assist2
Ctrl+alt+F = Assist1
Shift+Ctrl+alt+F = Assist3

Character3:
F = Assist3
Ctrl+alt+F = Assist1
Shift+Ctrl+alt+F= Assist2

and bind the follwoing macro to 'f' :


/assist [mod:alt,mod:ctrl] focus
/follow [mod:alt,mod:ctrl] focus
/stopmacro [mod:alt,mod:ctrl]
/jamba setmeasmaster all

problem of this might be, that '/jamba setmeasmaster all ' might be a little bit 'spammy'

Brookie
11-28-2008, 10:29 AM
Olipcs, you come through yet again.

Ya, I spent an hour or so mapping this out on a dry erase board at work today and actually came up with the same macro sequence... an embaresssment when I compare it to probably the 20 seconds you spent here on it. But eh, I'm new to these hotstrings and this is really coming through.

You took it an extra step farther though with the macro though, I was planning on setting up 3 seperate macros within Bind Pad, but this wraps it all up nicely. Appreciated yet again man.

Brookie
11-28-2008, 10:52 AM
Ah one more thing,


"/assist [mod:alt,mod:ctrl] focus
/follow [mod:alt,mod:ctrl] focus
/stopmacro [mod:alt,mod:ctrl]
/jamba setmeasmaster all"

In the modifiers, do these trigger only with both modifers, or is it either modifier?

olipcs
11-28-2008, 11:04 AM
it would only trigger the /assist and /follow if both modifiers are present, and the /jamba if no alt and no ctrl are pressed

Brookie
11-28-2008, 11:26 AM
Ah, so thats why you used a Shift+Ctrl+Alt modifier combo...it passes for the Ctrl+Alt modifer too?

olipcs
11-28-2008, 11:50 AM
jep exactly, its a quick dirty fix for the problem, that you can't have two 'ctrl + alt'-combos, so i use an additional shift.

btw.: if you wan't to do the above more 'beautifuly' it can be done by hotkeynet, with a simple script i posted in the other thread ('http://www.dual-boxing.com/forums/index.php?page=Thread&postID=152256#post152256'), which might be quite usefull if you have to do this for a lot of keys, as in HKN you can define a hole bunch of keys with KeyLists.