<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>sommermann.com &#187; Applescript</title>
	<atom:link href="http://www.sommermann.com/tag/applescript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sommermann.com</link>
	<description>Grafik, Webdesign, Fotografie, Programmierung, Architekturen</description>
	<lastBuildDate>Sun, 13 Nov 2011 22:48:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Textmate Bundles nachinstallieren</title>
		<link>http://www.sommermann.com/2008/10/20/textmate-bundles-nachinstallieren/</link>
		<comments>http://www.sommermann.com/2008/10/20/textmate-bundles-nachinstallieren/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 08:09:21 +0000</pubDate>
		<dc:creator>tso</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Editor]]></category>
		<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://www.sommermann.com/?p=72</guid>
		<description><![CDATA[Um für den Texteditor Textmate unter OS X fehlende Bundles für Programmiersprachen hinzuzufügen, kann man diese aus dem Subversion Repository von Macromates einfach herunterladen: Anbei ein Beispiel für das C# Bundle: mkdir -p ~/Library/Application\ Support/TextMate/Bundles cd ~/Library/Application\ Support/TextMate/Bundles svn co http://svn.textmate.org/trunk/Review/Bundles/trunk/Review/Bundles/C%23.tmbundle osascript -e 'tell app &#34;TextMate&#34; to reload bundles' Alle Bundles lädt man folgendermassen herunter: [...]]]></description>
			<content:encoded><![CDATA[<p>Um für den Texteditor <a href="http://www.macromates.com">Textmate</a> unter OS X fehlende Bundles für Programmiersprachen hinzuzufügen, kann man diese aus dem Subversion Repository von Macromates einfach herunterladen:</p>
<p><span id="more-72"></span>Anbei ein Beispiel für das C# Bundle:</p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> ~<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Application\ Support<span style="color: #000000; font-weight: bold;">/</span>TextMate<span style="color: #000000; font-weight: bold;">/</span>Bundles
<span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Application\ Support<span style="color: #000000; font-weight: bold;">/</span>TextMate<span style="color: #000000; font-weight: bold;">/</span>Bundles
<span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #c20cb9; font-weight: bold;">co</span> http:<span style="color: #000000; font-weight: bold;">//</span>svn.textmate.org<span style="color: #000000; font-weight: bold;">/</span>trunk<span style="color: #000000; font-weight: bold;">/</span>Review<span style="color: #000000; font-weight: bold;">/</span>Bundles<span style="color: #000000; font-weight: bold;">/</span>trunk<span style="color: #000000; font-weight: bold;">/</span>Review<span style="color: #000000; font-weight: bold;">/</span>Bundles<span style="color: #000000; font-weight: bold;">/</span>C<span style="color: #000000; font-weight: bold;">%</span>23.tmbundle
osascript <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'tell app &quot;TextMate&quot; to reload bundles'</span></pre>
</div>
</div>
<p>Alle Bundles lädt man folgendermassen herunter:</p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Application\ Support<span style="color: #000000; font-weight: bold;">/</span>TextMate
<span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #c20cb9; font-weight: bold;">co</span> http:<span style="color: #000000; font-weight: bold;">//</span>svn.textmate.org<span style="color: #000000; font-weight: bold;">/</span>trunk<span style="color: #000000; font-weight: bold;">/</span>Review<span style="color: #000000; font-weight: bold;">/</span>Bundles
osascript <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'tell app &quot;TextMate&quot; to reload bundles'</span></pre>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.sommermann.com/2008/10/20/textmate-bundles-nachinstallieren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OS X Shell</title>
		<link>http://www.sommermann.com/2008/10/14/mac-os-x-shell/</link>
		<comments>http://www.sommermann.com/2008/10/14/mac-os-x-shell/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 09:14:38 +0000</pubDate>
		<dc:creator>tso</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.sommermann.com/?p=46</guid>
		<description><![CDATA[Unix auf Mac OS X Anbei ein Artikel über Verbesserungen und Hilfscripte für die Mac OS X Shell. Mac OS X basiert bekanntlich auf einem BSD Unix und auch aus diesem Grund ist es mittlerweile zum Betriebssystem meiner Wahl avanciert. Wenn man jedoch von der Linux Seite kommt, ist man einiges an Komfort auf der [...]]]></description>
			<content:encoded><![CDATA[<h3>Unix auf Mac OS X</h3>
<p>Anbei ein Artikel über Verbesserungen und Hilfscripte für die Mac OS X Shell.<br />
Mac OS X basiert bekanntlich auf einem BSD Unix und auch aus diesem Grund ist es mittlerweile zum Betriebssystem meiner Wahl avanciert. Wenn man jedoch von der Linux Seite kommt, ist man einiges an Komfort auf der Kommandozeilenebene gewöhnt. Dies muss man nach und nach dem Apfel beibringen.<br />
Hier ein paar Einstellungen, die ich für mich als sinnvoll erachtet habe.</p>
<h3><span id="more-46"></span>Terminal Hintergrundfarbe setzen</h3>
<p>Da ich immer viele Terminalsessions offen habe, kann ich selten schnell eine bestimmte Session wiederfinden. Farben werden besser wahrgenommen, also habe ich mich mal umgeschaut, wie man die Terminalfarben per Commandline setzen kann. Auf dieser <a href="http://www.red-sweater.com/blog/220/random-color-terminal">Seite</a> bin ich fündig geworden und habe das ganze in ein kleines Shellscript verpackt:</p>
<h4>setcolor.sh</h4>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">osascript</pre>
</div>
</div>
<p><strong>setcolor.sh</strong> in die <strong>.bash_profile</strong> packen und jede neue Shell besitzt eine andere Farbkombination. Dadurch, dass man mit den offenen Shells länger arbeitet, assoziiert man schnell eine Farbe mit dem dort laufenden Log/Server/Build/etc.</p>
<p><center><img class="aligncenter size-medium wp-image-51" title="Farbige Terminal Sessions" src="http://www.sommermann.com/wp-content/uploads/2008/10/bild-2-300x208.png" alt="" width="300" height="208" /></center></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sommermann.com/2008/10/14/mac-os-x-shell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

