worked fabulously, thanks!
Andreas
On Sep 6, 2006, at 19:00 , Michael Reece wrote:
textmate supports a txmt:// schemed url of the form txmt://open? url=file://...
assuming that you are browsing file:// urls, you can use a bookmarklet like this:
javascript:open('txmt://open?url=file://'+location.pathname).close()
or it you are viewing http://localhost/ urls, you can use a bookmarket like this:
javascript:open('txmt://open?url=file:///Library/WebServer/ Documents'+location.pathname).close()
hope that helps, michael.
On Sep 6, 2006, at 2:11 AM, Andreas Wahlin wrote:
I'm spending a lot of time writing html mockups, which means i get to work lots on "raw" html files not tied to any backend of any sorts. So my work usually exists of switching back and forth between camino (I use safari for normal browsing) and often navigating between files. Now what I'd like is a way to catch the file I currently view in camino and start to edit it in textmate, and also take the file I edit in textmate and show it in camino (in the current tab)
The last thing there should already exist i suppose in some of the "preview in browser" actions, but what about getting the current html file from camino and editing in textmate?
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
______________________
Andreas Wahlin Webbutvecklare
Webbhuset AB Östra Hamngatan 45, 411 10 Göteborg
Telefon: 031-339 19 19, Direkt: 031-739 18 20, Fax: 031-711 12 20 www.webbhuset.se
Privileged/confidential information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by a reply email. Thank you.