[TxMt] Preview in browser

Allan Odgaard throw-away-1 at macromates.com
Fri Dec 9 17:54:40 UTC 2005


On 9/12/2005, at 17:23, Jim Woolum wrote:

> Is there a way to add Xyle Scope to the list of browsers that will  
> do a
> preview under the HTML Command?

I added this to the preview command (which I've btw renamed to “Open  
Document in Running Browsers” for next build, as I found that more  
appropriate):

## Xyle scope
[[ $(ps -xc|grep "Xyle scope") ]] && osascript -e 'tell app "Xyle  
scope"' -e activate -e "Get URL \"$activeURL\"" -e 'end tell'





More information about the textmate mailing list