Originally Posted by
annicep
Hello community,
Could anyone help me to move this button? I'm
not interested in addon, since i rarely use them.
I'd like a script that allows me to move it a bit down, so its not covering my unit frames. Thanks in advance!
Alright, put these into macros and run this while having your mouse over the button you want to move.
Code:
local name = UnitName("mouseover")
SendChatMessage("Hey " .. name .. " I'm mousing over you!!!", "WHISPER", nil, name)
In this macro, just replace "name" with whatever name you got from the first macro when mousing over that button. Reason you're doing the first step is because I have no idea what the button is called.
Code:
/run local f=name; f:SetUserPlaced(true) f:SetMovable(true) f:EnableMouse(true) f:RegisterForDrag("LeftButton") f:SetScript("OnDragStart",f.StartMoving) f:SetScript("OnDragStop",f.StopMovingOrSizing)
Credit goes to wowprogramming.com since I actually don't know this by heart and just googled it.