Files
qt-creator/share/qtcreator/runInTerminal.command

12 lines
371 B
Plaintext
Raw Normal View History

2008-12-02 12:01:29 +01:00
#!/bin/bash
osascript >/dev/null 2>&1 <<EOF
tell application "Terminal"
do script "$1 $2 +$3 +\"normal $4|\"; exit"
set currentTab to the result
set number of columns of currentTab to $5
set number of rows of currentTab to $6
set position of windows whose tabs contains currentTab to {$7, $8}
activate
2008-12-02 12:01:29 +01:00
end tell
EOF