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

Allan Odgaard throw-away-1 at macromates.com
Sat Oct 28 14:46:34 UTC 2006


On 28. Oct 2006, at 16:41, Timothy Bates wrote:

>> The problem is that there is no API for that.
>
> AppleScript does this for you without activating the application
>
> tell application "WebKit"
>     --activate --commented out to show the difference
>    open "www.psy.ed.ac.uk"
> end tell
>
> So that's one solution - I bet it is what mail.app uses. We could  
> tell by
> snooping on apple events

Mail has this feature?

As for the AppleScript, for me both Safari and OmniWeb opens the  
string as file://…




More information about the textmate mailing list