Yush Key Combinations

言語: JP EN DE FR
2010-06-21
New Items
users online
フォーラム » Windower » Support » Yush key combinations
Yush key combinations
Offline
Posts: 31
By cheyrn 2022-03-26 02:40:14  
I've just started to try using Yush. How can I have something like macro sets?

For example, this works:
Code
another = {
  ['Ctrl+1'] = 'input /equipset 2'
}

Code
return {
  ['Ctrl+1'] = 'input /equipset 1',
  ['Ctrl+2'] = another
}


But, I don't want to use up 2 key combinations on selecting different sets of key bindings.

This doesn't work

['Ctrl+Shift+2'] = another

The UI captures the keystroke, instead of yush, and selects my 2nd macro set.

So maybe my question amounts to how can I bind the keystroke Ctrl+Shift+2 etc. in yush?
Offline
Posts: 31
By cheyrn 2022-03-26 19:20:06  
Eh... that actually works, after trying again.
Offline
Posts: 31
By cheyrn 2022-03-26 23:23:15  
It sort of works.

I want to imitate FFXI UI but be able to load macros from a file.

So, my "root set" has keybindings:

ctrl+shift+1 = enfeebling_macros
ctrl+shift+2 = elemental_macros

And, that works, once.

After the next set is loaded, the binndings for ctrl+shift+n disappear and ctrl+shift+n is interpreted as ctrl+1.

If I put the ctrl+shift+n key bindings in every set, I get a stack overflow.

Maybe there is a way to make this work that doesn't imitate FFXI macro keybindings, but I don't what that is.
Log in to post.