<?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>theconsultant.net &#187; Mac OS X</title>
	<atom:link href="http://www.theconsultant.net/category/software/mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theconsultant.net</link>
	<description>Simplicity is complicated.</description>
	<lastBuildDate>Thu, 17 Sep 2009 17:00:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Bringing up your Mac&#8217;s Color Picker anywhere!</title>
		<link>http://www.theconsultant.net/2008/12/bringing-up-your-macs-color-picker-anywhere/</link>
		<comments>http://www.theconsultant.net/2008/12/bringing-up-your-macs-color-picker-anywhere/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 18:17:52 +0000</pubDate>
		<dc:creator>dAVE</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Macintosh]]></category>

		<guid isPermaLink="false">http://www.theconsultant.net/archives/2008/12/30/bringing-up-your-macs-color-picker-anywhere/</guid>
		<description><![CDATA[I was wandering through Smoking Apples earlier today, and ran across their article: Deconstructing the Mac OS X Color Picker. Now, honestly, I do not use it very often.. but it is a very useful tool to keep track of a few favorite colors, and an easy way to pickup new colors from something else [...]]]></description>
			<content:encoded><![CDATA[<p>I was wandering through <a href="http://smokingapples.com/">Smoking Apples</a> earlier today, and ran across their article: <a href="http://smokingapples.com/software/tutorials/deconstructing-macosx-color-picker/">Deconstructing the Mac OS X Color Picker</a>. Now, honestly, I do not use it very often.. but it is a very useful tool to keep track of a few favorite colors, and an easy way to pickup new colors from something else on your screen.</p>
<p>
They also mention a few plugins, one of which I am going to grab ASAP: a hexadecimal color picker, which you can use to get color values for use in your web pages.
</p>
<p>
Last, and not least, is the super simple way to open the picker from anywhere! Make a new script in your Script Editor and type in &#8216;choose color&#8217; and save the script as an application. When you run it up comes the color picker! Feeling too lazy to open Script Editor? The folks at Smoking Apples made the script and put a nice icon on it already. It&#8217;s in their article.
</p>
<p>
Thanks guys!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theconsultant.net/2008/12/bringing-up-your-macs-color-picker-anywhere/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Archiving selected emails to a single file.</title>
		<link>http://www.theconsultant.net/2008/06/archiving-selected-emails-to-a-single-file/</link>
		<comments>http://www.theconsultant.net/2008/06/archiving-selected-emails-to-a-single-file/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 19:31:15 +0000</pubDate>
		<dc:creator>dAVE</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Random Observations]]></category>

		<guid isPermaLink="false">http://www.theconsultant.net/archives/2008/06/13/archiving-selected-emails-to-a-single-file/</guid>
		<description><![CDATA[I needed to gather about 50 emails into a single file so I could sift through them and pull out a variety of information. Going through them one at a time in Mail was going to take longer than I wanted, or was willing to do at once, so I decided to save them to [...]]]></description>
			<content:encoded><![CDATA[<p>I needed to gather about 50 emails into a single file so I could sift through them and pull out a variety of information. Going through them one at a time in Mail was going to take longer than I wanted, or was willing to do at once, so I decided to save them to a single file so I could do it later.</p>
<p>It turns out to be very simple: you select the relevant emails, in my case the result of a search, and do a &#8220;Save As..&#8221;. At this point you have a choice of how to save them, and I chose the default &#8220;Rich text Format&#8221;. I ended up with one file with all 58 emails in it.</p>
<p>Now I can open it in TextEdit and delete the parts I don&#8217;t want.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theconsultant.net/2008/06/archiving-selected-emails-to-a-single-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open a pile of links in browser tabs, all at once!</title>
		<link>http://www.theconsultant.net/2008/05/open-a-pile-of-links-in-browser-tabs-all-at-once/</link>
		<comments>http://www.theconsultant.net/2008/05/open-a-pile-of-links-in-browser-tabs-all-at-once/#comments</comments>
		<pubDate>Mon, 05 May 2008 18:47:55 +0000</pubDate>
		<dc:creator>dAVE</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://www.theconsultant.net/archives/2008/05/05/open-a-pile-of-links-in-browser-tabs-all-at-once/</guid>
		<description><![CDATA[One of things I occasionally do at work is to grab every url for a client&#8217;s domains/sites and open them up to eyeball them and see if anything obvious needs fixing.
First I go and copy a list of all the active domains, and clean it up with a &#8220;search and replace&#8221; script. I end up [...]]]></description>
			<content:encoded><![CDATA[<p>One of things I occasionally do at work is to grab every url for a client&#8217;s domains/sites and open them up to eyeball them and see if anything obvious needs fixing.
<p>First I go and copy a list of all the active domains, and clean it up with a &#8220;search and replace&#8221; script. I end up with a list of url&#8217;s, one per line.</p>
<p>After that I copy it all and go over to the Terminal and run a nice little script which I call &#8220;tab&#8221;. My current default browser then starts sprouting tabs galore.</p>
<p>Here&#8217;s the script:</p>
<p>
<code><br />
#!/bin/bash<br />
pbpaste | tr "\r" "\n" | xargs -n 1 open<br />
</code>
</p>
<p>
How does it work?</p>
<p>
<i>pbpaste</i> provides the contents of the clipboard to the command line (see pbcopy to put things into the clipboard). <i>tr</i> translates characters, in this case from one kind of line end (or return character) to another. An issue with pbcopy from what I can tell! Then the cleaned up clipboard gets pushed to <i>xargs</i> which take the command <code> -n 1 open </code> and builds one <i>open</i> per line of data being fed to it. Yes, <i>xargs</i> is very cool. The <i>open</i> command will then &#8220;open the URL in the default browser&#8221;.</p>
<p>
I am sure this can all be done in Applescript or Automator.. but typing tab and return on the command line is the fastest and simplest for me!
</p>
<p>
If you want to use the script and are not sure how to take the shell code above and turn it into an actual script.. let me know and i&#8217;ll provide instructions (gee, another blog post!).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theconsultant.net/2008/05/open-a-pile-of-links-in-browser-tabs-all-at-once/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to run the same application more than once!</title>
		<link>http://www.theconsultant.net/2008/04/how-to-run-the-same-application-more-than-once/</link>
		<comments>http://www.theconsultant.net/2008/04/how-to-run-the-same-application-more-than-once/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 18:56:32 +0000</pubDate>
		<dc:creator>dAVE</dc:creator>
				<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://www.theconsultant.net/archives/2008/04/23/how-to-run-the-same-application-more-than-once/</guid>
		<description><![CDATA[I spotted this trick on macosxhints.com: An easy way to run multiple instances of any program

Apple&#8217;s Developer Resources has a copy of the man page for open and explains it like this:

-n  Open a new instance of the application(s) even if one is already running.


 So what can you do with it, and why?

 [...]]]></description>
			<content:encoded><![CDATA[<p>I spotted this trick on macosxhints.com: <a href="http://www.macosxhints.com/article.php?story=2008040521371015">An easy way to run multiple instances of any program</a>
<p>
Apple&#8217;s Developer Resources has a copy of the man page for <a href="http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/open.1.html">open</a> and explains it like this:</p>
<p>
<pre>-n  Open a new instance of the application(s) even if one is already running.
</pre>
</p>
<p> So what can you do with it, and why?
</p>
<p> I had no real use for it until this morning when I wanted to test the CPU load on Safari of a web site, without having to close all my windows and their tabs. So I fired up the terminal and did;</p>
<p><code><br />
open -n /Applications/Safari.app<br />
</code></p>
<p>
&#8230; and then there were two Safari icons in my Dock!</p>
<p>
The MacOSXHints article warns that there is some danger having multiple copies of an application open, as they will all be trying to read/write to shared files like preferences.</p>
<p>Let me know if you have any cool uses for it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theconsultant.net/2008/04/how-to-run-the-same-application-more-than-once/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Introduction to Mac&#8221; Workshop coming up on January 26th</title>
		<link>http://www.theconsultant.net/2008/01/introduction-to-mac-workshop-coming-up-on-january-26th/</link>
		<comments>http://www.theconsultant.net/2008/01/introduction-to-mac-workshop-coming-up-on-january-26th/#comments</comments>
		<pubDate>Sat, 19 Jan 2008 23:28:36 +0000</pubDate>
		<dc:creator>dAVE</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Macintosh]]></category>

		<guid isPermaLink="false">http://www.theconsultant.net/archives/2008/01/19/introduction-to-mac-workshop-coming-up-on-january-26th/</guid>
		<description><![CDATA[I will only quote part of the announcement regarding the Workshop Tom and I are offering next weekend&#8230; all the details are on Tom&#8217;s site: Introduction to Mac course, in Ottawa, Ontario, on January 26th, 2008.

As you can guess from the course title, we will be doing an introduction to the Mac, from the outside [...]]]></description>
			<content:encoded><![CDATA[<p>I will only quote part of the announcement regarding the Workshop Tom and I are offering next weekend&#8230; all the details are on Tom&#8217;s site: <a href="http://www.leroux.ca/archive/dsp_view_492.cfm">Introduction to Mac course, in Ottawa, Ontario, on January 26th, 2008</a>.</p>
<p>
As you can guess from the course title, we will be doing an introduction to the Mac, from the outside in!</p>
<p> Some of the major applications which will be covered include; Mail, Safari, Address Book, iCal, iChat, and the iLife suite of applications. There will be time at the end to address specific questions, which we expect will arise!
</p>
<p>
As Tom says:</p>
<blockquote><p>Now that the details are (finally) worked out, I can safely announce that <a href="http://www.theconsultant.net/" target="_blank" title="Dave Rostenne">Dave Rostenne</a> and I are offering our first combined course for users who are new to Macs, or have just &quot;switched&quot;. The course will take place over at the <a href="http://spao.ca/" target="_blank" title="Go to the School of the Photographic Arts: Ottawa website">School of the Photographic Arts: Ottawa</a> (SPAO), and you can find details on their <a href="http://spao.ca/specialevents.html" target="_blank" title="Go to SPOA's special events page">special events</a> page or in this <a href="http://spao.ca/winterpdf/winter08/winterMAC.pdf" target="_blank" title="PDF version of the Intro to Macs course information.">printable PDF</a> file.</p></blockquote>
<h2>When</h2>
<p>Saturday, January 26th, 2008 from 1:00 PM to 4:00 PM, with an additional hour afterwards (4:00 PM to 5:00 PM) for questions and answers.</p>
<h2>The cost and how to register</h2>
<p>The cost is a very reasonable $79, and to register, you can either call (613) 562-3824 or email <a href="mailto:ADMIN@SPAO.CA" target="_blank" title="Send email to ADMIN@SPAO.CA">ADMIN@SPAO.CA</a>.  Register soon, because seating is limited to 20 people!</p>
<p>We hope to see you there!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theconsultant.net/2008/01/introduction-to-mac-workshop-coming-up-on-january-26th/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AppleScript 2.0!</title>
		<link>http://www.theconsultant.net/2007/10/applescript-20/</link>
		<comments>http://www.theconsultant.net/2007/10/applescript-20/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 02:20:45 +0000</pubDate>
		<dc:creator>dAVE</dc:creator>
				<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://www.theconsultant.net/archives/2007/10/30/applescript-20/</guid>
		<description><![CDATA[Thanks to df for pointing out that Apple has posted release notes for AppleScript in Leopard.We can now ask if an application is running, without AppleScript launching it to find out. ;-)Some nice additions to running AppleScript on the Command Line:

use # to comment out a line
start the script with #!/usr/bin/osascript, and make it executable, [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to <a href="http://daringfireball.net/linked/2007/october#tue-30-applescript">df</a> for pointing out that Apple has posted <a href="http://developer.apple.com/releasenotes/AppleScript/RN-AppleScript/index.html">release notes for AppleScript</a> in Leopard.We can now ask if an application is running, without AppleScript launching it to find out. ;-)Some nice additions to running AppleScript on the Command Line:
<ul>
<li>use <code>#</code> to comment out a line</li>
<li>start the script with <code>#!/usr/bin/osascript</code>, and make it executable, will enable it to be run in the shell</li>
<li><code>osadecompile</code> is a command line script to display compiled scripts as text</li>
</ul>
<p>Now <code>osascript</code> also supports additional arguments on the command line, so now you can run a script and provide strings for it to use. see the osascript man page for details, and an example. This feature was available in Tiger, I just never noticed until now!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theconsultant.net/2007/10/applescript-20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>StuffIT download</title>
		<link>http://www.theconsultant.net/2007/06/stuffit-download/</link>
		<comments>http://www.theconsultant.net/2007/06/stuffit-download/#comments</comments>
		<pubDate>Tue, 19 Jun 2007 13:05:20 +0000</pubDate>
		<dc:creator>stany</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.theconsultant.net/archives/2007/06/19/stuffit-download/</guid>
		<description><![CDATA[StuffIT, that became Allume, that became digital river is becoming less and less relevant on Mac OS platform.  Part of the reason for that, of course, is the policy of the manufacturer, that requires signing up, buying things, etc.  It&#8217;s nearly impossible to find the free StuffIT expander, for those rare moments when [...]]]></description>
			<content:encoded><![CDATA[<p>StuffIT, that became Allume, that became digital river is becoming less and less relevant on Mac OS platform.  Part of the reason for that, of course, is the policy of the manufacturer, that requires signing up, buying things, etc.  It&#8217;s nearly impossible to find the free StuffIT expander, for those rare moments when you need it. </p>
<p>In any event, here is a <a href="http://www.stuffit.com/mac/expander/exp-downloadv.html">direct link to the StuffIT download page</a>.  I had to give out a throw-away e-mail address to get it. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.theconsultant.net/2007/06/stuffit-download/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Today&#8217;s Cool Key Command!</title>
		<link>http://www.theconsultant.net/2007/05/todays-cool-key-command/</link>
		<comments>http://www.theconsultant.net/2007/05/todays-cool-key-command/#comments</comments>
		<pubDate>Thu, 10 May 2007 15:19:15 +0000</pubDate>
		<dc:creator>dAVE</dc:creator>
				<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://www.theconsultant.net/archives/2007/05/10/todays-cool-key-command/</guid>
		<description><![CDATA[Select a word, do command-ctrl-d, and it invokes pop-up window with data from the dictionary. Thanks Tom!
]]></description>
			<content:encoded><![CDATA[<p>Select a word, do command-ctrl-d, and it invokes pop-up window with data from the dictionary. Thanks Tom!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theconsultant.net/2007/05/todays-cool-key-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Merging Keychains?</title>
		<link>http://www.theconsultant.net/2006/10/merging-keychains/</link>
		<comments>http://www.theconsultant.net/2006/10/merging-keychains/#comments</comments>
		<pubDate>Wed, 25 Oct 2006 15:47:31 +0000</pubDate>
		<dc:creator>dAVE</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Tech. Support]]></category>

		<guid isPermaLink="false">http://www.theconsultant.net/archives/2006/10/25/merging-keychains/</guid>
		<description><![CDATA[Does anyone know how to merge multiple Keychains in Mac OS X?
I know I can copy items from one keychain to another, but that involves authenticating twice. 
I tried going in and adding those other keychains to be part of my list, but they don&#8217;t stay. Frustrating.
Why am I doing this? I replaced my computer, [...]]]></description>
			<content:encoded><![CDATA[<p>Does anyone know how to merge multiple Keychains in Mac OS X?</p>
<p>I know I can copy items from one keychain to another, but that involves authenticating twice. </p>
<p>I tried going in and adding those other keychains to be part of my list, but they don&#8217;t stay. Frustrating.</p>
<p>Why am I doing this? I replaced my computer, and was not able to transfer my account at setup time, so I ended up with some old keychains that got copied over.</p>
<p>Suggestions, comments, rants?</p>
<p>All are welcome!</p>
<p>Dave</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theconsultant.net/2006/10/merging-keychains/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mac OS X/mach: Identifying architecture and CPU type</title>
		<link>http://www.theconsultant.net/2006/07/mac-os-xmach-identifying-architecture-and-cpu-type/</link>
		<comments>http://www.theconsultant.net/2006/07/mac-os-xmach-identifying-architecture-and-cpu-type/#comments</comments>
		<pubDate>Sun, 09 Jul 2006 18:43:25 +0000</pubDate>
		<dc:creator>stany</dc:creator>
				<category><![CDATA[Consulting]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Rant!]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech. Support]]></category>

		<guid isPermaLink="false">http://www.theconsultant.net/archives/2006/07/09/mac-os-xmach-identifying-architecture-and-cpu-type/</guid>
		<description><![CDATA[Platform independent endinanness check:

#include &#60;stdio.h>
union foo
{
  char p[4];
  int k;
};

int main()
{
  int j;
  union foo bar;
  printf("$Id: endianness.c,v 1.1 2006/07/09 17:48:14 stany Exp stany $\nChecks endianness of your platform\n");
  printf("Bigendian platform (ie Mac OS X PPC) would return \"abcd\"\n");
  printf("Littleendian platform (ie Linux x86) would return \"dcba\"\n");
  [...]]]></description>
			<content:encoded><![CDATA[<p>Platform independent endinanness check:</p>
<pre>
#include &lt;stdio.h>
union foo
{
  char p[4];
  int k;
};

int main()
{
  int j;
  union foo bar;
  printf("$Id: endianness.c,v 1.1 2006/07/09 17:48:14 stany Exp stany $\nChecks endianness of your platform\n");
  printf("Bigendian platform (ie Mac OS X PPC) would return \"abcd\"\n");
  printf("Littleendian platform (ie Linux x86) would return \"dcba\"\n");
  printf("Your platform returned ");
  bar.k = 0x61626364;
  for(j=0; j&lt;4 ; j++)
  {
  printf("%c",bar.p[j]);
  }

  printf("\n");
  return 0;

}
</pre>
<p>Platform dependent tell me everything check:</p>
<pre>
/*
 * $Id: cpuid.c,v 1.2 2002/08/03 23:38:39 stany Exp stany $
 */

#include &lt;mach-o/arch.h>
#include &lt;stdio.h>

const char *byte_order_strings[]  = {
        "Unknown",
        "Little Endian",
        "Big Endian",
};

int main() {

  const NXArchInfo *p=NXGetLocalArchInfo();
  printf("$Id: cpuid.c,v 1.2 2002/08/03 23:38:39 stany Exp stany $ \n");
  printf("Identifies Darwin CPU type\n");
  printf("Name: %s\n", p->name);
  printf("Description: %s\n", p->description);
  printf("ByteOrder: %s\n", byte_order_strings[p->byteorder]);
  printf("CPUtype: %d\n", p->cputype);
  printf("CPUSubtype: %d\n\n", p->cpusubtype);
  printf("\nFor scary explanation of what CPUSubtype and CPUtype stand for, \nlook into /usr/include/mach/machine.h\n\n
ppc750\t-\tG3\nppc7400\t-\tslower G4\nppc7450\t-\tfaster G4\nppc970\t-\tG5\n");

return 0;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.theconsultant.net/2006/07/mac-os-xmach-identifying-architecture-and-cpu-type/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
