/run WorldFrame:SetUserPlaced(true) WorldFrame:ClearAllPoints() WorldFrame:SetPoint("TOPLEFT", 0, -150) WorldFrame:SetPoint("BOTTOMRIGHT", 0, 150)
Explanation. The part that determines where the viewport is drawn are the two commands:
WorldFrame:SetPoint("TOPLEFT", XXXX, YYYY)
WorldFrame:SetPoint("BOTTOMRIGHT", AAAA, BBBB)
In these macros the "XXXX" will control the how far from the top left corner of the screen that the left-edge of your viewport is drawn. The YYY will control how far from the top left corner of the screen that they top edge of your viewport is drawn.
Setting negative numbers for XXXX will move the viewport to the left (so -150 means 'draw the world 150 pixels off the left side of my screen, a value of 200 means 'draw the world 200 pixels closer to the right side of my screen).
YYYY adjusts the viewport up or down (setting -150 means "move the top edge of the viewport down 150 pixels from the top of my screen", setting 200 means "move the top edge of my viewport off the top of my screen)
AAAA and BBBB work the same way (negative = down/left, positive numbers mean up/right) but they move the bottom and right sides of the viewport relative to the bottom right corner of the screen.
You can reset to default by running the macro with AAAA, BBBB, XXXX, and YYYY all set to 0.