<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Terminal Color Changing via AppleScript</title>
	<atom:link href="http://nslog.com/2006/11/02/terminal_color_changing_via_applescript/feed" rel="self" type="application/rss+xml" />
	<link>http://nslog.com/2006/11/02/terminal_color_changing_via_applescript</link>
	<description>The Weblog of Erik J. Barzeski</description>
	<lastBuildDate>Thu, 02 Sep 2010 19:19:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Upgraded to Leopard &#124; NSLog();</title>
		<link>http://nslog.com/2006/11/02/terminal_color_changing_via_applescript#comment-44080</link>
		<dc:creator>Upgraded to Leopard &#124; NSLog();</dc:creator>
		<pubDate>Wed, 31 Oct 2007 14:44:46 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2006/11/02/lazyweb_request_terminal_color_changer/#comment-44080</guid>
		<description>[...] Terminal AppleScript2 MySQL Dock Window Styles Time Machine Spaces Cover Flow/QuickLook Firewall Overall Impressions  [...]</description>
		<content:encoded><![CDATA[<p>[...] Terminal AppleScript2 MySQL Dock Window Styles Time Machine Spaces Cover Flow/QuickLook Firewall Overall Impressions  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tim</title>
		<link>http://nslog.com/2006/11/02/terminal_color_changing_via_applescript#comment-39523</link>
		<dc:creator>tim</dc:creator>
		<pubDate>Fri, 16 Feb 2007 20:28:56 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2006/11/02/lazyweb_request_terminal_color_changer/#comment-39523</guid>
		<description>For picking colors, you want to use the &quot;DigitalColor Meter&quot; -- look in /Applications/Utilities  

Set it to &quot;RGB As Actual Value, 16-bit&quot; and then point it at a color on the screen: it&#039;ll give you the first 3 numbers to use in your script.  The 4th number is indeed saturation -- you can skip it if you want to.</description>
		<content:encoded><![CDATA[<p>For picking colors, you want to use the "DigitalColor Meter" -- look in /Applications/Utilities  </p>
<p>Set it to "RGB As Actual Value, 16-bit" and then point it at a color on the screen: it'll give you the first 3 numbers to use in your script.  The 4th number is indeed saturation -- you can skip it if you want to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Red Sweater Blog - Random Color Terminal</title>
		<link>http://nslog.com/2006/11/02/terminal_color_changing_via_applescript#comment-21334</link>
		<dc:creator>Red Sweater Blog - Random Color Terminal</dc:creator>
		<pubDate>Mon, 06 Nov 2006 15:23:40 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2006/11/02/lazyweb_request_terminal_color_changer/#comment-21334</guid>
		<description>[...] Erik Barzeski stumbled on a cool trick with Terminal&#8217;s scriptability, allowing him to save presets for his favorite color schemes in AppleScript. His approach is especially brilliant since he&#8217;s using FastScripts to trigger the scripts! [...]</description>
		<content:encoded><![CDATA[<p>[...] Erik Barzeski stumbled on a cool trick with Terminal&#8217;s scriptability, allowing him to save presets for his favorite color schemes in AppleScript. His approach is especially brilliant since he&#8217;s using FastScripts to trigger the scripts! [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Lord</title>
		<link>http://nslog.com/2006/11/02/terminal_color_changing_via_applescript#comment-20736</link>
		<dc:creator>Daniel Lord</dc:creator>
		<pubDate>Fri, 03 Nov 2006 16:55:56 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2006/11/02/lazyweb_request_terminal_color_changer/#comment-20736</guid>
		<description>The RGB values are short ints. I wrote an Applescript a few years ago (still use it) that gives me a list of background color combinations with esthetic text colors and some transaprency so I can chose to color the frontmost terminal window. I then wrote a simple shell script that ran the Applescript with using  &#039;open -a&#039;:

#!/bin/sh
open -a &quot;/Users/daniello/Library/Scripts/Terminal/ChangeColor&quot;


My simple color list in the ChangeColor script:

property MAX_COLOR : 1024 * 10
property GRAY_MIX : 1024 * 6
property TRANSPARENCY : -8536
property colorList : [{MAX_COLOR, 0, 0, TRANSPARENCY}, Ã‚Â¬
	{0, MAX_COLOR, 0, TRANSPARENCY}, Ã‚Â¬
	{0, 0, MAX_COLOR, TRANSPARENCY}, Ã‚Â¬
	{MAX_COLOR, 0, MAX_COLOR, TRANSPARENCY}, Ã‚Â¬
	{MAX_COLOR, GRAY_MIX, 0, TRANSPARENCY}, Ã‚Â¬
	{GRAY_MIX, GRAY_MIX, GRAY_MIX, TRANSPARENCY}]
property colors : {&quot;Red&quot;, &quot;Green&quot;, &quot;Blue&quot;, &quot;Purple&quot;, &quot;Orange&quot;, &quot;Gray&quot;}

I just index from the &#039;colors&#039; choice.
I like the Random idea.</description>
		<content:encoded><![CDATA[<p>The RGB values are short ints. I wrote an Applescript a few years ago (still use it) that gives me a list of background color combinations with esthetic text colors and some transaprency so I can chose to color the frontmost terminal window. I then wrote a simple shell script that ran the Applescript with using  'open -a':</p>
<p>#!/bin/sh<br />
open -a "/Users/daniello/Library/Scripts/Terminal/ChangeColor"</p>
<p>My simple color list in the ChangeColor script:</p>
<p>property MAX_COLOR : 1024 * 10<br />
property GRAY_MIX : 1024 * 6<br />
property TRANSPARENCY : -8536<br />
property colorList : [{MAX_COLOR, 0, 0, TRANSPARENCY}, Ã‚Â¬<br />
	{0, MAX_COLOR, 0, TRANSPARENCY}, Ã‚Â¬<br />
	{0, 0, MAX_COLOR, TRANSPARENCY}, Ã‚Â¬<br />
	{MAX_COLOR, 0, MAX_COLOR, TRANSPARENCY}, Ã‚Â¬<br />
	{MAX_COLOR, GRAY_MIX, 0, TRANSPARENCY}, Ã‚Â¬<br />
	{GRAY_MIX, GRAY_MIX, GRAY_MIX, TRANSPARENCY}]<br />
property colors : {"Red", "Green", "Blue", "Purple", "Orange", "Gray"}</p>
<p>I just index from the 'colors' choice.<br />
I like the Random idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Jalkut</title>
		<link>http://nslog.com/2006/11/02/terminal_color_changing_via_applescript#comment-20675</link>
		<dc:creator>Daniel Jalkut</dc:creator>
		<pubDate>Thu, 02 Nov 2006 22:43:44 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2006/11/02/lazyweb_request_terminal_color_changer/#comment-20675</guid>
		<description>I think the numbers for the RGB values are 0-65535 (short ints), but that you&#039;re seeing negative numbers sometimes just because AppleScript is interpreting them as signed ints.

I was inspired by your post to put together a little script that sets the color of the terminal randomly:

http://www.red-sweater.com/blog/220/random-color-terminal</description>
		<content:encoded><![CDATA[<p>I think the numbers for the RGB values are 0-65535 (short ints), but that you're seeing negative numbers sometimes just because AppleScript is interpreting them as signed ints.</p>
<p>I was inspired by your post to put together a little script that sets the color of the terminal randomly:</p>
<p><a  href="http://www.red-sweater.com/blog/220/random-color-terminal">http://www.red-sweater.com/blog/220/random-color-terminal</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://nslog.com/2006/11/02/terminal_color_changing_via_applescript#comment-20628</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Thu, 02 Nov 2006 18:05:01 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2006/11/02/lazyweb_request_terminal_color_changer/#comment-20628</guid>
		<description>Scripting terminal always breaks it so that .term files can no longer be opened from the Finder. Not sure why, but the bug&#039;s been in there for several OSX versions.</description>
		<content:encoded><![CDATA[<p>Scripting terminal always breaks it so that .term files can no longer be opened from the Finder. Not sure why, but the bug's been in there for several OSX versions.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
