[TxMt] Feature request: "Open Terminal here ..."

Antoine Beyeler abeyeler at dplanet.ch
Thu May 3 10:09:47 UTC 2007


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 at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate




More information about the textmate mailing list