WoW:USERAPI Frame SetManyAttributes: Difference between revisions

→‎Example: Using it on a random frame
No edit summary
 
(→‎Example: Using it on a random frame)
Line 22: Line 22:
  frames[1]:SetManyAttributes("type1", "macro", "macrotext", "/equip Hydrocane")
  frames[1]:SetManyAttributes("type1", "macro", "macrotext", "/equip Hydrocane")
  frames[2]:SetManyAttributes("type1", "spell", "spell", "Greater Heal")
  frames[2]:SetManyAttributes("type1", "spell", "spell", "Greater Heal")
Or to just use the function on a random frame:
  SetManyAttributes(someFrame, "type1", "macro", "macrotext", "/equip Hydrocane");
Anonymous user