[TxMt] Enter to open URL - cmd-enter to open in background?

Fred B fredb7 at gmail.com
Sat Oct 28 15:26:47 UTC 2006


On 10/28/06, Allan Odgaard <throw-away-1 at macromates.com> wrote:
>
> As for the AppleScript, for me both Safari and OmniWeb opens the
> string as file://…

You should use "open location" instead of "open".
It opens the link in the default browser and respect the "open in tab' pref.
But the browser is activated.

Although not perfect, this works:
open location "http://macromates.com"
tell application "TextMate" to activate



More information about the textmate mailing list