<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Updated Script for BBEdit and FTPeel</title>
	<atom:link href="http://nslog.com/2004/10/03/updated_script_for_bbedit_and_ftpeel/feed" rel="self" type="application/rss+xml" />
	<link>http://nslog.com/2004/10/03/updated_script_for_bbedit_and_ftpeel</link>
	<description>The Weblog of Erik J. Barzeski</description>
	<pubDate>Sat, 22 Nov 2008 20:55:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: TextMate, the Redux &#124; NSLog();</title>
		<link>http://nslog.com/2004/10/03/updated_script_for_bbedit_and_ftpeel#comment-11583</link>
		<dc:creator>TextMate, the Redux &#124; NSLog();</dc:creator>
		<pubDate>Wed, 16 Nov 2005 17:48:24 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2004/10/03/updated_script_for_bbedit_and_ftpeel/#comment-11583</guid>
		<description>When I last wrote about TextMate, I commented on its lack of preferences and, essentially, shelved the idea of using TextMate because of it. Today I grabbed the latest beta and gave it a whirl. I was perhaps 30 minutes...
</description>
		<content:encoded><![CDATA[<p>When I last wrote about TextMate, I commented on its lack of preferences and, essentially, shelved the idea of using TextMate because of it. Today I grabbed the latest beta and gave it a whirl. I was perhaps 30 minutes...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TheAlbinoBowler</title>
		<link>http://nslog.com/2004/10/03/updated_script_for_bbedit_and_ftpeel#comment-11582</link>
		<dc:creator>TheAlbinoBowler</dc:creator>
		<pubDate>Wed, 17 Nov 2004 23:16:22 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2004/10/03/updated_script_for_bbedit_and_ftpeel/#comment-11582</guid>
		<description>Alan from Macromates whipped up the command to get this working in Textmate:



osascript -e "tell application \"FTPeel\" to open \"`echo ${TM_FILEPATH:1}&#124;tr / :`\""



works like a charm.</description>
		<content:encoded><![CDATA[<p>Alan from Macromates whipped up the command to get this working in Textmate:</p>
<p>osascript -e "tell application \"FTPeel\" to open \"`echo ${TM_FILEPATH:1}|tr / :`\""</p>
<p>works like a charm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TheAlbinoBowler</title>
		<link>http://nslog.com/2004/10/03/updated_script_for_bbedit_and_ftpeel#comment-11581</link>
		<dc:creator>TheAlbinoBowler</dc:creator>
		<pubDate>Sat, 13 Nov 2004 19:41:52 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2004/10/03/updated_script_for_bbedit_and_ftpeel/#comment-11581</guid>
		<description>This is exactly what I'm trying to do with Textmate, except I don't really understand Applescript or Textmate's implementation of Applescript. Anyone figured this out yet?</description>
		<content:encoded><![CDATA[<p>This is exactly what I'm trying to do with Textmate, except I don't really understand Applescript or Textmate's implementation of Applescript. Anyone figured this out yet?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frode Danielsen</title>
		<link>http://nslog.com/2004/10/03/updated_script_for_bbedit_and_ftpeel#comment-11580</link>
		<dc:creator>Frode Danielsen</dc:creator>
		<pubDate>Sat, 23 Oct 2004 01:38:10 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2004/10/03/updated_script_for_bbedit_and_ftpeel/#comment-11580</guid>
		<description>And here's a slightly enhanced version - just because I got so inspired by your script and FTPeel's MagicMirrors... Now I just need to buy FTPeel and my workflow will improve several times :)



set filepath to ""

set theUrl to ""



tell application "BBEdit"

    set thisFile to (active document of front window)

    save thisFile

    set filepath to file of thisFile

    set site to container web site of thisFile

    set theUrl to (URL of thisFile)

end tell



tell application "FTPeel"

    open filepath

end tell



tell application "OmniWeb"

    GetURL theUrl

    activate

end tell



I've added a tiny bit to make OmniWeb open the same document. It relies on you having defined a web site in BBEdit which the current document resides in locally, thus enabling me to get a correct URL easily for the document from BBEdit. Now if only someone could tell me how to wait for the upload to complete before telling OmniWeb to open the document - that would top it off!



Feel free to send me a note if you find use for this, or if you solve my final feature, or...! :)</description>
		<content:encoded><![CDATA[<p>And here's a slightly enhanced version - just because I got so inspired by your script and FTPeel's MagicMirrors... Now I just need to buy FTPeel and my workflow will improve several times <img src='http://nslog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>set filepath to ""</p>
<p>set theUrl to ""</p>
<p>tell application "BBEdit"</p>
<p>    set thisFile to (active document of front window)</p>
<p>    save thisFile</p>
<p>    set filepath to file of thisFile</p>
<p>    set site to container web site of thisFile</p>
<p>    set theUrl to (URL of thisFile)</p>
<p>end tell</p>
<p>tell application "FTPeel"</p>
<p>    open filepath</p>
<p>end tell</p>
<p>tell application "OmniWeb"</p>
<p>    GetURL theUrl</p>
<p>    activate</p>
<p>end tell</p>
<p>I've added a tiny bit to make OmniWeb open the same document. It relies on you having defined a web site in BBEdit which the current document resides in locally, thus enabling me to get a correct URL easily for the document from BBEdit. Now if only someone could tell me how to wait for the upload to complete before telling OmniWeb to open the document - that would top it off!</p>
<p>Feel free to send me a note if you find use for this, or if you solve my final feature, or...! <img src='http://nslog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
