Verubato / framesort

A simple WoW add-on that sorts party, arena, and raid frames.
10 stars 3 forks source link

Is it possible to use @focus and @mouseover in dynamic macros? #14

Closed korv114 closed 1 year ago

korv114 commented 1 year ago

If not, that'd be a pretty useful addition to make this feature perfect :)

Verubato commented 1 year ago

Yep you can do that, here's an example:

#FrameSort mouseover, focus, healer
/cast [@mouseover,help][mod:shift,@focus][mod:ctrl,@healer,exists][] Spell

The #FrameSort A, B, C, etc header will take the A, B, C, etc., and place it into the occurrences of "@".

korv114 commented 1 year ago

I actually tried it like that but it was replacing them with @none so I assumed it wouldn't work. And didn't seem to work outside arena at least

Verubato commented 1 year ago

Ah snap, there is a bug where mouseover and such won't work outside of a group. I'll push a fix for it and release.

Verubato commented 1 year ago

Issue fixed in release 5.2.1.

@korv114 if you update FrameSort it should be fixed now. Thanks for notifying me about this!

korv114 commented 1 year ago

Awesome, thanks!