diff options
Diffstat (limited to 'share/qtcreator/runInTerminal.command')
-rwxr-xr-x | share/qtcreator/runInTerminal.command | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/share/qtcreator/runInTerminal.command b/share/qtcreator/runInTerminal.command new file mode 100755 index 00000000000..372820c1b11 --- /dev/null +++ b/share/qtcreator/runInTerminal.command @@ -0,0 +1,11 @@ +#!/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 + end tell +EOF |