View Single Post
12-06-17, 12:13 PM   #7
vis781
A Fallenroot Satyr
Join Date: Dec 2017
Posts: 27
Thanks, and interesting that you posted that link, as it was the very one I was just reading! and it gives me hope... according to the article it is possible to SetWidth and SetHeight of frames during combat. It says so clearly in the article... the restriction is.. as far as I can tell without testing that..

a) It must be a precompiled "snippet" string of lua code.
b) the frame must be first made available to the secure environment ( which now I know is nothing but a sandbox ) by using Header.SetFrameRef(..) and then inside the snippet the frame can be referenced with Header.GetFrameRef(..)

From there the handle returned can ( if i'm correct ) be used to manipulate many of the frames properties..

i.e Width/Height/Show/Hide/Alpha to name just a few... No moving though.. but that makes sense.

I will try to make a test addon tonight and have it changed the width of a frame during combat, and see if it works.. If so I'll post the code here for anyone to use.

Hopefully it'll work!
  Reply With Quote