No.
However this did work:
osascript <<EOF tell application "iTerm" activate tell the first terminal launch session "Default Session" tell the last session write text "cd '$TM_PATH'; clear; pwd" end tell end tell end tell EOF
Best, Antoine
On 3 mai 07, at 11:53, Niels Kobschätzki wrote:
On May 3, 2007, at 11:50 AM, Antoine Beyeler wrote:
What if you want to use iTerm instead? :-)
Wouldn't it work to change the command just from
osascript <<EOF tell application "Terminal" activate do script "cd '$TM_PATH'; clear; pwd" end tell EOF
to osascript <<EOF tell application "iTerm" activate do script "cd '$TM_PATH'; clear; pwd" end tell EOF
?
Niels
-- 1942? Wasn't that the year when Columbus discovered America? -- Beauty & the Geek Season 1
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate