Not sure what parameter's your using but as far as at the profile level I use this in case people are using cross realm addons, it's not the most glamorous but can get the job done, just plop it after a boss section in the profile. I haven't seen a way to detect the window to hit need. Code: <!-- Run Need Macro if we're using Cross Realm--> <If Condition="Me.GroupInfo.IsInParty || Me.GroupInfo.IsInRaid"> <CustomBehavior File="RunMacro" Macro="/run GroupLootFrame1.NeedButton:Click()" NumOfTimes="1" /> <CustomBehavior File="RunMacro" Macro="/click StaticPopup1Button1" NumOfTimes="1" /> <CustomBehavior File="RunMacro" Macro="/run GroupLootFrame2.NeedButton:Click()" NumOfTimes="1" /> <CustomBehavior File="RunMacro" Macro="/click StaticPopup1Button1" NumOfTimes="1" /> <CustomBehavior File="RunMacro" Macro="/run GroupLootFrame3.NeedButton:Click()" NumOfTimes="1" /> <CustomBehavior File="RunMacro" Macro="/click StaticPopup1Button1" NumOfTimes="1" /> </If>