I made a script to sell dias in AH to be able to buy them with my main, but sometimes, i have this pop up about "memory critical something", and my script pause, because it can't fill in the secondary password pop up.
Here is the code i leeched somewhere on the site. At the moment, i'm doing a clic but it's not really clean.
I tried CloseAllWindows() but didn't work.player:mouseclickL(641, 141, 1280, 738)
RoMScript("CheckPasswordState(); StaticPopup1EditBox:ClearFocus()")
if RoMScript("StaticPopup1:IsVisible()") then
RoMScript("StaticPopup1EditBox:SetText(\"pass\")")
RoMScript("StaticPopup_EnterPressed(StaticPopup1)")
RoMScript("StaticPopup1:Hide()")
end
Is there anythink function to close this popup?
Thanks.