osascript "set bounds of window" not working after Mavericks upgrade

Solution 1:

Try changing the size and position attributes or using System Events instead:

tell application "Terminal"
    tell window 1
        set size to {1150, 850}
        set position to {50, 50}
    end tell
end tell
tell application "System Events" to tell process "Terminal"
    tell window 1
        set size to {1150, 850}
        set position to {50, 50}
    end tell
end tell

Solution 2:

Lauri's answer almost worked for me, but I had to run the script twice. Setting the position before the size fixed that. It seems you get set a size that would cause the window to leave the screen...

tell application "System Events" to tell process "Terminal"
    tell window 1
        set position to {50, 50}
        set size to {1150, 850}
    end tell
end tell

Also, the first time you run this you should get a message about security, make sure you go into System Prefs -> Security & Privacy -> Privacy -> Accessibility and check "Terminal.app"