MacOSXHints.comhttp://www.macosxhints.comMacosxhints.com RSS feedPyRSS2Gen-1.0.0http://blogs.law.harvard.edu/tech/rssAccess iPhoto images from any applicationhttp://feeds.macosxhints.com/click.phdo?i=fe42c7646e6b4893c70ff852b7d5f200<div class="story"> <div class="story-title">Access iPhoto images from any application <span style="padding-top:5px;float:right"><a href="http://www.macosxhints.com/index.php?topic=apps" rel="category"><img src="http://www.macosxhints.com/layout/hints1/images/topics/t_apps.png" class="floatright" alt="Apps" title="Apps" /></a></span> <br /> <span class="story-information">Jul 30, '10 07:30:00AM &#8226; Contributed by: Anonymous</span> </div> <div class="story-body"> iPhoto stores the photo files in bundles. This makes it difficult and time-consuming to access your saved photos manually in Finder, and makes it impossible to open your iPhotos via an Open dialog. It's also impossible to use Time Machine for individual iPhoto pictures (unless you choose File &raquo; Browse Backups from iPhoto). You can very easily give all programs easy access to your iPhotos, using aliases.<br /><br />In the Finder, go to <em>~/Pictures/iPhoto Library</em>. This is the one whose icon is a stack of photos, the one on top being the standard orange palm tree. Yours may be named something other than the default name iPhoto Library. <br /><br /> Right-click (Ctrl-click) on this file and choose Show Package Contents. You get a new window with a bunch of files and folders. You're just interested in two: <em>Modified</em> and <em>Originals</em> (as you can guess, Originals contains your original, unedited photos; and Modified contains your edited photos). <br /><br /> Open a Finder window to where you want to put the aliases to these two folders (I just use the Pictures folder). Select one of the folders mentioned above. While holding down the Command+Option keys, click and drag from the second (not yet selected) folder to the other window. You will then have aliases of each of those folders in your selected location. You can rename them if you like. Use these like any other folders. Now, you can easily grab photos out of your iPhoto library from any application. You can also use these folders like any other in programs like Adobe Lightroom and Bridge, and access the individual images in a Time Machine backup. <br /><br /> [<b>crarko adds:</b> I tested this, and it works as described.] </div> <div class="story-control"> <div style="float:left"> &nbsp;&nbsp;&nbsp;&nbsp;&#8226;&nbsp; &nbsp;&nbsp; <br /> <div class="rating"> <span id="unit_long20100730083829161"> <ul id="unit_ul20100730083829161" class="unit-rating" style="width:75px;"> <li class="current-rating" style="width:30px;">Currently 2.00 / 5</li><li><a href="/rating/rate.php?score=1&amp;id=20100729132439185&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100730083829161&amp;st=1" title="1 out of 5" class="r1-unit rater" rel="nofollow">1</a></li><li><a href="/rating/rate.php?score=2&amp;id=20100729132439185&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100730083829161&amp;st=1" title="2 out of 5" class="r2-unit rater" rel="nofollow">2</a></li><li><a href="/rating/rate.php?score=3&amp;id=20100729132439185&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100730083829161&amp;st=1" title="3 out of 5" class="r3-unit rater" rel="nofollow">3</a></li><li><a href="/rating/rate.php?score=4&amp;id=20100729132439185&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100730083829161&amp;st=1" title="4 out of 5" class="r4-unit rater" rel="nofollow">4</a></li><li><a href="/rating/rate.php?score=5&amp;id=20100729132439185&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100730083829161&amp;st=1" title="5 out of 5" class="r5-unit rater" rel="nofollow">5</a></li> </ul> <span style="margin-left:77.5px;">&nbsp;&nbsp;(1 vote cast)</span></span> &nbsp; </div> </div> <div style="float:right; text-align:right"> [264 views] &nbsp; </div> <div style="clear:both"></div> </div> </div>http://www.macosxhints.com/article.php?story=2010072913031844Fri, 30 Jul 2010 14:30:00 GMTFix RSS bookmarks with no count in Safarihttp://feeds.macosxhints.com/click.phdo?i=b5e9485bbae2bcead5282c15409b2ad7<div class="story"> <div class="story-title">Fix RSS bookmarks with no count in Safari <span style="padding-top:5px;float:right"><a href="http://www.macosxhints.com/index.php?topic=browsers" rel="category"><img src="http://www.macosxhints.com/layout/hints1/images/topics/t_browsers.png" class="floatright" alt="Web Browsers" title="Web Browsers" /></a></span> <br /> <span class="story-information">Jul 30, '10 07:30:00AM &#8226; Contributed by: <a class="storybyline" href="http://www.macosxhints.com/users.php?mode=profile&amp;uid=1019608">asmeurer</a></span> </div> <div class="story-body"> I was having a problem with the RSS feed for a bookmark in Safari. It was in a folder in my Bookmarks Bar. Whenever the feed was updated, the folder got a number, but the feed's bookmark in the pop down did not, making me wonder just which feed the update came from. <br /><br /> I fixed it by changing the RSS feed URL from: <br /><br /> <tt>feed://http://www.pimpmysafari.com/atom/</tt> to <br /><br /> <tt>feed://www.pimpmysafari.com/atom/</tt>. <br /><br /> That is, I removed the <tt>http://</tt> part from the URL. Now the number correctly appears next that feed just like all the other ones do. <br /><br /> [<b>crarko adds:</b> I haven't tested this one.] </div> <div class="story-control"> <div style="float:left"> &nbsp;&nbsp;&nbsp;&nbsp;&#8226;&nbsp; &nbsp;&nbsp; <br /> <div class="rating"> <span id="unit_long20100730083831794"> <ul id="unit_ul20100730083831794" class="unit-rating" style="width:75px;"> <li class="current-rating" style="width:15px;">Currently 1.00 / 5</li><li><a href="/rating/rate.php?score=1&amp;id=20100730051034908&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100730083831794&amp;st=1" title="1 out of 5" class="r1-unit rater" rel="nofollow">1</a></li><li><a href="/rating/rate.php?score=2&amp;id=20100730051034908&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100730083831794&amp;st=1" title="2 out of 5" class="r2-unit rater" rel="nofollow">2</a></li><li><a href="/rating/rate.php?score=3&amp;id=20100730051034908&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100730083831794&amp;st=1" title="3 out of 5" class="r3-unit rater" rel="nofollow">3</a></li><li><a href="/rating/rate.php?score=4&amp;id=20100730051034908&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100730083831794&amp;st=1" title="4 out of 5" class="r4-unit rater" rel="nofollow">4</a></li><li><a href="/rating/rate.php?score=5&amp;id=20100730051034908&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100730083831794&amp;st=1" title="5 out of 5" class="r5-unit rater" rel="nofollow">5</a></li> </ul> <span style="margin-left:77.5px;">&nbsp;&nbsp;(2 votes cast)</span></span> &nbsp; </div> </div> <div style="float:right; text-align:right"> [193 views] &nbsp; </div> <div style="clear:both"></div> </div> </div>http://www.macosxhints.com/article.php?story=20100730004653816Fri, 30 Jul 2010 14:30:00 GMT10.6: Automate the creation of ISO imageshttp://feeds.macosxhints.com/click.phdo?i=7ffd065c47fcbbb56cf12fc5b2abf17b<div class="story"> <div class="story-title">10.6: Automate the creation of ISO images <span style="padding-top:5px;float:right"><a href="http://www.macosxhints.com/index.php?topic=system106" rel="category"><img src="http://www.macosxhints.com/layout/hints1/images/topics/t_system106.png" class="floatright" alt="System 10.6" title="System 10.6" /></a></span> <br /> <span class="story-information">Jul 29, '10 07:45:00AM &#8226; Contributed by: <a class="storybyline" href="http://www.macosxhints.com/users.php?mode=profile&amp;uid=1069729">ChrisAMS</a></span> </div> <div class="story-body"> <img src="http://www.macosxhints.com/images/106only.png" alt="Snow Leopard only hint" align="left" style="margin-right: 10px" />I love Disk Utility, however, it does not directly support the creation of ISO 9660 images. It can create CDR images or CD/DVD master images. Those can be renamed to .iso files and are supported by most software. But that's inconvenient to say the least. <br /><br /> Some searching revealed that you can create ISO images using the Terminal through <em>hdiutil</em>.<br /><br />The Terminal command is:<br /> <tt>hdiutil makehybrid -o ~/Desktop/Diskimage.iso &#36;&#123;diskName&#125; -iso -joliet</tt> <br /><br /> However that still leaves things complicated. So I put this in Automator by adding the 'Run Shellscript' action. <div style="margin-left: 20px; margin-top:10px; margin-bottom:10px; padding: 5px; border:1px solid; width:520px; height:120px; overflow:scroll;white-space:nowrap;resize:both"><pre>echo -n `date "+%Y-%m-%d - %H:%M:%S ->"` >> ~/iso.log echo "Starting ISO creation" >> ~/iso.log diskName=&#36;(drutil status | grep "Name:" | awk '&#123;print &#36;4&#125;') echo -n `date "+%Y-%m-%d - %H:%M:%S ->"` >> ~/iso.log echo "Device: &#36;&#123;diskName&#125;" >> ~/iso.log echo -n `date "+%Y-%m-%d - %H:%M:%S ->"` >> ~/iso.log echo `diskutil umountDisk &#36;&#123;diskName&#125;` >> ~/iso.log echo -n `date "+%Y-%m-%d - %H:%M:%S ->"` >> ~/iso.log echo "Starting copy action." echo `hdiutil makehybrid -o ~/Desktop/Diskimage.iso &#36;&#123;diskName&#125; -iso -joliet` >> ~/iso.log echo -n `date "+%Y-%m-%d - %H:%M:%S ->"` >> ~/iso.log echo "Done" >> ~/iso.log</pre></div> This script finds the superdrive by <em>drutil</em>, then unmounts the disk by <em>diskutil</em>, then makes the actual iso image by <em>hdiutil</em> and logs the process in a log file in the user directory. <br /><br /> I made this a Service in the Application menu (Snow Leopard only). Now I run the Service and the disk image appears on my desktop, when the CD/DVD ejects, it's done. <br /><br /> [<b>crarko adds:</b> The original command with hdiutil was mentioned previously in <a href="http://www.macosxhints.com/article.php?story=20050819185219196">this hint</a>. The use of Automator to create a Service is a handy addition to that.] </div> <div class="story-control"> <div style="float:left"> &nbsp;&nbsp;&nbsp;&nbsp;&#8226;&nbsp; &nbsp;&nbsp; <br /> <div class="rating"> <span id="unit_long20100729081157948"> <ul id="unit_ul20100729081157948" class="unit-rating" style="width:75px;"> <li class="current-rating" style="width:0px;">Currently 0.00 / 5</li><li><a href="/rating/rate.php?score=1&amp;id=20100527055155711&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100729081157948&amp;st=1" title="1 out of 5" class="r1-unit rater" rel="nofollow">1</a></li><li><a href="/rating/rate.php?score=2&amp;id=20100527055155711&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100729081157948&amp;st=1" title="2 out of 5" class="r2-unit rater" rel="nofollow">2</a></li><li><a href="/rating/rate.php?score=3&amp;id=20100527055155711&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100729081157948&amp;st=1" title="3 out of 5" class="r3-unit rater" rel="nofollow">3</a></li><li><a href="/rating/rate.php?score=4&amp;id=20100527055155711&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100729081157948&amp;st=1" title="4 out of 5" class="r4-unit rater" rel="nofollow">4</a></li><li><a href="/rating/rate.php?score=5&amp;id=20100527055155711&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100729081157948&amp;st=1" title="5 out of 5" class="r5-unit rater" rel="nofollow">5</a></li> </ul> <span style="margin-left:77.5px;">&nbsp;&nbsp;(0 votes cast)</span></span> &nbsp; </div> </div> <div style="float:right; text-align:right"> [154 views] &nbsp; </div> <div style="clear:both"></div> </div> </div>http://www.macosxhints.com/article.php?story=20100527035147137Thu, 29 Jul 2010 14:45:00 GMTUse Transmit to deal with MobileMe's iDiskhttp://feeds.macosxhints.com/click.phdo?i=cafada7af6349aebfb2b8db42dc980cd<div class="story"> <div class="story-title">Use Transmit to deal with MobileMe's iDisk <span style="padding-top:5px;float:right"><a href="http://www.macosxhints.com/index.php?topic=apps" rel="category"><img src="http://www.macosxhints.com/layout/hints1/images/topics/t_apps.png" class="floatright" alt="Apps" title="Apps" /></a></span> <br /> <span class="story-information">Jul 29, '10 07:30:00AM &#8226; Contributed by: <a class="storybyline" href="http://www.macosxhints.com/users.php?mode=profile&amp;uid=1052757">asparria</a></span> </div> <div class="story-body"> Accessing iDisk through Finder is, in the best case, slow and unreliable. I've found that <a href="http://www.panic.com/transmit/">Transmit</a> (Panic Inc.) is a fast, reliable and easy substitute to Finder. <br /><br />Everywhere you can find opinions against using iDisk to synchronize data or to hold working copies; however, MobileMe has 20Gb of available capacity I wanted to use. After searching a lot, I have found that Transmit has native support for MobileMe (amongst others), lots of features, it is very fast and easy to use. <br /><br /> These hints are focused on basic iDisk usage, i.e. get you up and running in short time: <ul> <li>Synchronizing folders: Go to 'Favorites' and connect to your MobileMe iDisk. Don't forget to save it in a favorite with remote and local paths defined. Then it's just a matter of pressing the Sync button.</li> <li>Save as 'on-demand', preserving folder structure: Again, go to 'Favorites' and connect to your MobileMe iDisk. Define remote and local paths and activate DockSend (don't forget to save in a favorite). Whenever you want to save a file, just drag and drop the file in Transmit Dock Icon. It will preserve the directory structure creating the necessary folders.</li> <li>Save files to predefined locations: This is very handy for non-technical users. Again, connect to your MobileMe, define a remote location, save it in favorites and press 'Save as Droplet.' Every time you drag and drop a file in the droplet the file is saved in the remote location.</li> </ul> One of the best surprises I had was the speed of transfers, it is extremely fast, even faster than Finder or Dropbox. It's also very reliable and ease of use. <br /><br /> [<b>crarko adds:</b> I tested this, and it works as described. I know we have a lot of Transmit users here, but both <a href="http://cyberduck.ch/">Cyberduck</a> and <a href="http://nolobe.com/interarchy/">Interarchy</a> also support the WebDAV protocols to connect to iDisk, and offer sync functionality as well. Fetch does not at this point. Check your favorite FTP client and see what it has to offer. Pretty much any client that works at all will be faster than the Finder, in my experience.] </div> <div class="story-control"> <div style="float:left"> &nbsp;&nbsp;&nbsp;&nbsp;&#8226;&nbsp; &nbsp;&nbsp; <br /> <div class="rating"> <span id="unit_long20100729081200794"> <ul id="unit_ul20100729081200794" class="unit-rating" style="width:75px;"> <li class="current-rating" style="width:30px;">Currently 2.00 / 5</li><li><a href="/rating/rate.php?score=1&amp;id=20100728045044296&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100729081200794&amp;st=1" title="1 out of 5" class="r1-unit rater" rel="nofollow">1</a></li><li><a href="/rating/rate.php?score=2&amp;id=20100728045044296&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100729081200794&amp;st=1" title="2 out of 5" class="r2-unit rater" rel="nofollow">2</a></li><li><a href="/rating/rate.php?score=3&amp;id=20100728045044296&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100729081200794&amp;st=1" title="3 out of 5" class="r3-unit rater" rel="nofollow">3</a></li><li><a href="/rating/rate.php?score=4&amp;id=20100728045044296&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100729081200794&amp;st=1" title="4 out of 5" class="r4-unit rater" rel="nofollow">4</a></li><li><a href="/rating/rate.php?score=5&amp;id=20100728045044296&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100729081200794&amp;st=1" title="5 out of 5" class="r5-unit rater" rel="nofollow">5</a></li> </ul> <span style="margin-left:77.5px;">&nbsp;&nbsp;(2 votes cast)</span></span> &nbsp; </div> </div> <div style="float:right; text-align:right"> [165 views] &nbsp; </div> <div style="clear:both"></div> </div> </div>http://www.macosxhints.com/article.php?story=20100728010952832Thu, 29 Jul 2010 14:30:00 GMTiTunes 9.2 adds Undo &amp; Redo commandshttp://feeds.macosxhints.com/click.phdo?i=d941b101094baecdfdc64867e54f24b9<div class="story"> <div class="story-title">iTunes 9.2 adds Undo &amp; Redo commands <span style="padding-top:5px;float:right"><a href="http://www.macosxhints.com/index.php?topic=apps" rel="category"><img src="http://www.macosxhints.com/layout/hints1/images/topics/t_apps.png" class="floatright" alt="Apps" title="Apps" /></a></span> <br /> <span class="story-information">Jul 28, '10 07:30:00AM &#8226; Contributed by: <a class="storybyline" href="http://www.macosxhints.com/users.php?mode=profile&amp;uid=1056135">NaOH-Lye</a></span> </div> <div class="story-body"> Most applications have Undo and Redo commands, and iTunes has long had them available when editing song tags. Beginning with iTunes 9.2 (the latest version is 9.2.1), offers Undo and Redo commands which can be applied to songs which have been removed from or added to a playlist. Note, though, that these commands will not work for songs which have been removed from the Library. <br /><br /> As always, Undo is available from the Edit menu and can also be invoked using the keyboard with Command-Z. Redo is also in the Edit menu and can be done with the Command-Shift-Z keyboard shortcut. <br /><br /> I have no earlier version available for testing, but am confident 9.2 is when the feature I've noted was added. I regularly invoke the Undo keyboard shortcut just as a habitual response to a mistake, and I never witnessed the behavior prior to 9.2. <br /><br /> [<b>crarko adds:</b> I tested this, and it works as described.] </div> <div class="story-control"> <div style="float:left"> &nbsp;&nbsp;&nbsp;&nbsp;&#8226;&nbsp; &nbsp;&nbsp; <br /> <div class="rating"> <span id="unit_long20100728081744785"> <ul id="unit_ul20100728081744785" class="unit-rating" style="width:75px;"> <li class="current-rating" style="width:0px;">Currently 0.00 / 5</li><li><a href="/rating/rate.php?score=1&amp;id=20100728045000652&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100728081744785&amp;st=1" title="1 out of 5" class="r1-unit rater" rel="nofollow">1</a></li><li><a href="/rating/rate.php?score=2&amp;id=20100728045000652&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100728081744785&amp;st=1" title="2 out of 5" class="r2-unit rater" rel="nofollow">2</a></li><li><a href="/rating/rate.php?score=3&amp;id=20100728045000652&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100728081744785&amp;st=1" title="3 out of 5" class="r3-unit rater" rel="nofollow">3</a></li><li><a href="/rating/rate.php?score=4&amp;id=20100728045000652&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100728081744785&amp;st=1" title="4 out of 5" class="r4-unit rater" rel="nofollow">4</a></li><li><a href="/rating/rate.php?score=5&amp;id=20100728045000652&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100728081744785&amp;st=1" title="5 out of 5" class="r5-unit rater" rel="nofollow">5</a></li> </ul> <span style="margin-left:77.5px;">&nbsp;&nbsp;(0 votes cast)</span></span> &nbsp; </div> </div> <div style="float:right; text-align:right"> [226 views] &nbsp; </div> <div style="clear:both"></div> </div> </div>http://www.macosxhints.com/article.php?story=20100728010004738Wed, 28 Jul 2010 14:30:00 GMT10.6: Change remote ssh connections defaulthttp://feeds.macosxhints.com/click.phdo?i=3944169ab58274ebeead474390d37a4e<div class="story"> <div class="story-title">10.6: Change remote ssh connections default <span style="padding-top:5px;float:right"><a href="http://www.macosxhints.com/index.php?topic=system106" rel="category"><img src="http://www.macosxhints.com/layout/hints1/images/topics/t_system106.png" class="floatright" alt="System 10.6" title="System 10.6" /></a></span> <br /> <span class="story-information">Jul 28, '10 07:30:00AM &#8226; Contributed by: Anonymous</span> </div> <div class="story-body"> <img src="http://www.macosxhints.com/images/106only.png" alt="Snow Leopard only hint" align="left" style="margin-right: 10px" />In 10.5 and previous versions of the system, Terminal's remote connection dialog (go to the menu item Shell &raquo; New Remote Connection...) had a selection for Secure Shell (ssh) that defaulted to 'SSH (Automatic).' In 10.6, this has been changed to default to 'SSH Protocol 1.' None of my servers support SSH-1 (and if yours do, you should fix the security hole and disable it). [<b>crarko adds:</b> <a href="http://www.employees.org/~satch/ssh/faq/ssh-faq-1.html">Here's</a> a nice little FAQ that describes the SSH-1 and SSH-2 protocols. SSH-2 is newer and more secure.] <br /><br /> Also, Terminal does not remember the state when you change this pull down. Quitting Terminal or changing to another protocol and back will reset the pull down back to SSH-1. Here's a simple way to force it to keep the change.<br /><br />Since there doesn't seem to be a way to save the state of the pull down, just ignore the built-in Secure Shell service entry entirely and make a new one. <br /><br /> Click on the + under the Service list (within the New Remote Connection... dialog box), and create a new service. <br /><br /> Type <tt>ssh</tt> into all three fields. If you want specific special ssh options for every ssh session (like -2 for SSH-2 only, or -4 to only use IPv4 addresses), you can add them to the command line here. See <em>man ssh</em> for the available options. You can pass the username for the remote machine when you go to connect to it from the dialog. <br /><br /> Now this new service will default to whatever you want to set it to. It won't have additional options in the pulldown protocol menu at all. <br /><br /> [<b>crarko adds:</b> I tested this, and it works as described.] </div> <div class="story-control"> <div style="float:left"> &nbsp;&nbsp;&nbsp;&nbsp;&#8226;&nbsp; &nbsp;&nbsp; <br /> <div class="rating"> <span id="unit_long20100728081748654"> <ul id="unit_ul20100728081748654" class="unit-rating" style="width:75px;"> <li class="current-rating" style="width:0px;">Currently 0.00 / 5</li><li><a href="/rating/rate.php?score=1&amp;id=20100724195552486&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100728081748654&amp;st=1" title="1 out of 5" class="r1-unit rater" rel="nofollow">1</a></li><li><a href="/rating/rate.php?score=2&amp;id=20100724195552486&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100728081748654&amp;st=1" title="2 out of 5" class="r2-unit rater" rel="nofollow">2</a></li><li><a href="/rating/rate.php?score=3&amp;id=20100724195552486&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100728081748654&amp;st=1" title="3 out of 5" class="r3-unit rater" rel="nofollow">3</a></li><li><a href="/rating/rate.php?score=4&amp;id=20100724195552486&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100728081748654&amp;st=1" title="4 out of 5" class="r4-unit rater" rel="nofollow">4</a></li><li><a href="/rating/rate.php?score=5&amp;id=20100724195552486&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100728081748654&amp;st=1" title="5 out of 5" class="r5-unit rater" rel="nofollow">5</a></li> </ul> <span style="margin-left:77.5px;">&nbsp;&nbsp;(0 votes cast)</span></span> &nbsp; </div> </div> <div style="float:right; text-align:right"> [170 views] &nbsp; </div> <div style="clear:both"></div> </div> </div>http://www.macosxhints.com/article.php?story=20100724181441591Wed, 28 Jul 2010 14:30:00 GMT10.6: Snow Leopard update remaps mouse clickhttp://feeds.macosxhints.com/click.phdo?i=9217259cda718476568dc1dfc9228f6d<div class="story"> <div class="story-title">10.6: Snow Leopard update remaps mouse click <span style="padding-top:5px;float:right"><a href="http://www.macosxhints.com/index.php?topic=system106" rel="category"><img src="http://www.macosxhints.com/layout/hints1/images/topics/t_system106.png" class="floatright" alt="System 10.6" title="System 10.6" /></a></span> <br /> <span class="story-information">Jul 27, '10 07:30:00AM &#8226; Contributed by: <a class="storybyline" href="http://www.macosxhints.com/users.php?mode=profile&amp;uid=1076339">anyfors</a></span> </div> <div class="story-body"> <img src="http://www.macosxhints.com/images/106only.png" alt="Snow Leopard only hint" align="left" style="margin-right: 10px" />The latest Snow Leopard update (10.6.4) remapped the right mouse key to Application Switcher for the Apple USB Mouse when I applied it. <br /><br /> If you are surprised at having the large dock style transparent window suddenly popping up in the middle of your screen, simply go into System Preferences &raquo; Mouse and remap the right mouse button back to the Secondary Button (which was the default). <br /><br /> This will also restore the mouse's right-click functionality within your various applications. <br /><br /> [<b>crarko adds:</b> I haven't tested this one. Can people confirm that this happens with 10.6.4?] </div> <div class="story-control"> <div style="float:left"> &nbsp;&nbsp;&nbsp;&nbsp;&#8226;&nbsp; &nbsp;&nbsp; <br /> <div class="rating"> <span id="unit_long20100727094133298"> <ul id="unit_ul20100727094133298" class="unit-rating" style="width:75px;"> <li class="current-rating" style="width:15px;">Currently 1.00 / 5</li><li><a href="/rating/rate.php?score=1&amp;id=20100727054212318&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100727094133298&amp;st=1" title="1 out of 5" class="r1-unit rater" rel="nofollow">1</a></li><li><a href="/rating/rate.php?score=2&amp;id=20100727054212318&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100727094133298&amp;st=1" title="2 out of 5" class="r2-unit rater" rel="nofollow">2</a></li><li><a href="/rating/rate.php?score=3&amp;id=20100727054212318&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100727094133298&amp;st=1" title="3 out of 5" class="r3-unit rater" rel="nofollow">3</a></li><li><a href="/rating/rate.php?score=4&amp;id=20100727054212318&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100727094133298&amp;st=1" title="4 out of 5" class="r4-unit rater" rel="nofollow">4</a></li><li><a href="/rating/rate.php?score=5&amp;id=20100727054212318&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100727094133298&amp;st=1" title="5 out of 5" class="r5-unit rater" rel="nofollow">5</a></li> </ul> <span style="margin-left:77.5px;">&nbsp;&nbsp;(7 votes cast)</span></span> &nbsp; </div> </div> <div style="float:right; text-align:right"> [347 views] &nbsp; </div> <div style="clear:both"></div> </div> </div>http://www.macosxhints.com/article.php?story=20100726223000108Tue, 27 Jul 2010 14:30:00 GMTPrevent disk auto-mount while logged inhttp://feeds.macosxhints.com/click.phdo?i=4f3ccff5ff20f19a09b753ed5da5de67<div class="story"> <div class="story-title">Prevent disk auto-mount while logged in <span style="padding-top:5px;float:right"><a href="http://www.macosxhints.com/index.php?topic=hwstorage" rel="category"><img src="http://www.macosxhints.com/layout/hints1/images/topics/t_hwstorage.png" class="floatright" alt="Storage Devices" title="Storage Devices" /></a></span> <br /> <span class="story-information">Jul 27, '10 07:30:00AM &#8226; Contributed by: <a class="storybyline" href="http://www.macosxhints.com/users.php?mode=profile&amp;uid=59976">tobyvoss</a></span> </div> <div class="story-body"> While there are numerous well-documented ways to prevent a hard disk or USB drive from mounting at boot-time, I found only one way (working in 10.6) to prevent newly-connected disks from auto-mounting while logged in. <br /><br />It is possible to turn off the responsible process: <div style="margin-left: 20px; margin-top:10px; margin-bottom:10px; padding: 5px; border:1px solid; width:520px; height:60px; overflow:scroll;white-space:nowrap;resize:both"><pre> sudo launchctl unload /System/Library/LaunchDaemons/com.apple.diskarbitrationd.plist</pre></div> This has negative repercussions on general ejecting and mounting. Turning <em>diskarbitrationd</em> back on with <tt>load</tt> instead of <tt>unload</tt> doesn't solve all problems, either. <br /><br /> So I looked far and wide for a simple GUI tool performing this function; all I found were expensive forensics-toolkits for law enforcement which offer this function on the side. <br /><br /> Then I stumbled upon this gem: <a href="http://github.com/aburgh/Disk-Arbitrator/" target="_blank">github.com/aburgh/Disk-Arbitrator/</a>. Works for systems 10.5 and up, source available, binaries available (in 'Downloads'), all problems solved! <br /><br /> [<b>crarko adds:</b> I tested this, and it works as described. Nice utility, with good documentation.] </div> <div class="story-control"> <div style="float:left"> &nbsp;&nbsp;&nbsp;&nbsp;&#8226;&nbsp; &nbsp;&nbsp; <br /> <div class="rating"> <span id="unit_long20100727094136711"> <ul id="unit_ul20100727094136711" class="unit-rating" style="width:75px;"> <li class="current-rating" style="width:45px;">Currently 3.00 / 5</li><li><a href="/rating/rate.php?score=1&amp;id=20100727054153460&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100727094136711&amp;st=1" title="1 out of 5" class="r1-unit rater" rel="nofollow">1</a></li><li><a href="/rating/rate.php?score=2&amp;id=20100727054153460&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100727094136711&amp;st=1" title="2 out of 5" class="r2-unit rater" rel="nofollow">2</a></li><li><a href="/rating/rate.php?score=3&amp;id=20100727054153460&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100727094136711&amp;st=1" title="3 out of 5" class="r3-unit rater" rel="nofollow">3</a></li><li><a href="/rating/rate.php?score=4&amp;id=20100727054153460&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100727094136711&amp;st=1" title="4 out of 5" class="r4-unit rater" rel="nofollow">4</a></li><li><a href="/rating/rate.php?score=5&amp;id=20100727054153460&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100727094136711&amp;st=1" title="5 out of 5" class="r5-unit rater" rel="nofollow">5</a></li> </ul> <span style="margin-left:77.5px;">&nbsp;&nbsp;(2 votes cast)</span></span> &nbsp; </div> </div> <div style="float:right; text-align:right"> [250 views] &nbsp; </div> <div style="clear:both"></div> </div> </div>http://www.macosxhints.com/article.php?story=20100727040927706Tue, 27 Jul 2010 14:30:00 GMT10.6: Add applications to Exposéhttp://feeds.macosxhints.com/click.phdo?i=9e42d8d1bc7cca54c969f403025e3dc5<div class="story"> <div class="story-title">10.6: Add applications to Exposé <span style="padding-top:5px;float:right"><a href="http://www.macosxhints.com/index.php?topic=system106" rel="category"><img src="http://www.macosxhints.com/layout/hints1/images/topics/t_system106.png" class="floatright" alt="System 10.6" title="System 10.6" /></a></span> <br /> <span class="story-information">Jul 26, '10 07:30:00AM &#8226; Contributed by: <a class="storybyline" href="http://www.macosxhints.com/users.php?mode=profile&amp;uid=1070384">kapeli</a></span> </div> <div class="story-body"> <img src="http://www.macosxhints.com/images/106only.png" alt="Snow Leopard only hint" align="left" style="margin-right: 10px" />You all probably know about Exposé's Application Mode (introduced in 10.6 I think). What's interesting is that while you're in it, you can Command+click on other running applications and bring their windows into Exposé as well. <br /><br /> Steps to reproduce: <ul> <li>Open Application Exposé (click and hold on any running application in the Dock).</li> <li>Cmd+click on another running application in the Dock.</li> </ul> What happens is that only the windows of these 2 applications will be shown in Exposé. You can also continue to Cmd+click on other applications and bring their windows into Exposé as well. <br /><br /> I noticed that some windows that are normally ignored by Exposé, appear while doing this. <br /><br /> [<b>crarko adds:</b> I tested this, and it works as described. It's something of an addition to <a href="http://www.macosxhints.com/article.php?story=20090923060049395">this previous hint</a>.] </div> <div class="story-control"> <div style="float:left"> &nbsp;&nbsp;&nbsp;&nbsp;&#8226;&nbsp; &nbsp;&nbsp; <br /> <div class="rating"> <span id="unit_long20100726090213381"> <ul id="unit_ul20100726090213381" class="unit-rating" style="width:75px;"> <li class="current-rating" style="width:60px;">Currently 4.00 / 5</li><li><a href="/rating/rate.php?score=1&amp;id=20100724195554774&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100726090213381&amp;st=1" title="1 out of 5" class="r1-unit rater" rel="nofollow">1</a></li><li><a href="/rating/rate.php?score=2&amp;id=20100724195554774&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100726090213381&amp;st=1" title="2 out of 5" class="r2-unit rater" rel="nofollow">2</a></li><li><a href="/rating/rate.php?score=3&amp;id=20100724195554774&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100726090213381&amp;st=1" title="3 out of 5" class="r3-unit rater" rel="nofollow">3</a></li><li><a href="/rating/rate.php?score=4&amp;id=20100724195554774&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100726090213381&amp;st=1" title="4 out of 5" class="r4-unit rater" rel="nofollow">4</a></li><li><a href="/rating/rate.php?score=5&amp;id=20100724195554774&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100726090213381&amp;st=1" title="5 out of 5" class="r5-unit rater" rel="nofollow">5</a></li> </ul> <span style="margin-left:77.5px;">&nbsp;&nbsp;(1 vote cast)</span></span> &nbsp; </div> </div> <div style="float:right; text-align:right"> [286 views] &nbsp; </div> <div style="clear:both"></div> </div> </div>http://www.macosxhints.com/article.php?story=20100724072723993Mon, 26 Jul 2010 14:30:00 GMTSafari Reader copy and paste modeshttp://feeds.macosxhints.com/click.phdo?i=e8c00af0a2713df4b45a1eeaf65611bc<div class="story"> <div class="story-title">Safari Reader copy and paste modes <span style="padding-top:5px;float:right"><a href="http://www.macosxhints.com/index.php?topic=browsers" rel="category"><img src="http://www.macosxhints.com/layout/hints1/images/topics/t_browsers.png" class="floatright" alt="Web Browsers" title="Web Browsers" /></a></span> <br /> <span class="story-information">Jul 26, '10 07:30:00AM &#8226; Contributed by: <a class="storybyline" href="http://www.macosxhints.com/users.php?mode=profile&amp;uid=57563">gregraven</a></span> </div> <div class="story-body"> Copying and pasting from Safari when using the Reader function has two modes, depending on where you are pasting. <br /><br />If you select, copy, and paste the text into a text editor, you get something that looks like this: <blockquote> Britain Plans to Decentralize Health Care <br /><br /> LONDON -- Perhaps the only consistent thing about Britain's socialized health care system is that it is in a perpetual state of flux, its structure constantly changing as governments search for the elusive formula that will deliver the best care for the cheapest price while costs and demand escalate.[...] </blockquote> However, if you paste your copied text into a new mail message in Mail.app, the source URL is prepended to the text, like this: <blockquote> http://www.nytimes.com/2010/07/25/world/europe/25britain.html?_r=2&amp;hp <br /><br /> Britain Plans to Decentralize Health Care <br /><br /> LONDON -- Perhaps the only consistent thing about Britain's socialized health care system is that it is in a perpetual state of flux, its structure constantly changing as governments search for the elusive formula that will deliver the best care for the cheapest price while costs and demand escalate.[...] </blockquote> [<b>crarko adds:</b> I tested this, and it works if Mail is set to use Rich Text as the default message format, but not if it's Plain Text. In TextEdit it made no difference, the URL was not inserted. If you use the little 'Mail this page' icon in Safari Reader, it forces the new message to be Rich Text and adds the URL.] </div> <div class="story-control"> <div style="float:left"> &nbsp;&nbsp;&nbsp;&nbsp;&#8226;&nbsp; &nbsp;&nbsp; <br /> <div class="rating"> <span id="unit_long20100726090215991"> <ul id="unit_ul20100726090215991" class="unit-rating" style="width:75px;"> <li class="current-rating" style="width:52.5px;">Currently 3.50 / 5</li><li><a href="/rating/rate.php?score=1&amp;id=20100725151635430&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100726090215991&amp;st=1" title="1 out of 5" class="r1-unit rater" rel="nofollow">1</a></li><li><a href="/rating/rate.php?score=2&amp;id=20100725151635430&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100726090215991&amp;st=1" title="2 out of 5" class="r2-unit rater" rel="nofollow">2</a></li><li><a href="/rating/rate.php?score=3&amp;id=20100725151635430&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100726090215991&amp;st=1" title="3 out of 5" class="r3-unit rater" rel="nofollow">3</a></li><li><a href="/rating/rate.php?score=4&amp;id=20100725151635430&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100726090215991&amp;st=1" title="4 out of 5" class="r4-unit rater" rel="nofollow">4</a></li><li><a href="/rating/rate.php?score=5&amp;id=20100725151635430&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100726090215991&amp;st=1" title="5 out of 5" class="r5-unit rater" rel="nofollow">5</a></li> </ul> <span style="margin-left:77.5px;">&nbsp;&nbsp;(2 votes cast)</span></span> &nbsp; </div> </div> <div style="float:right; text-align:right"> [261 views] &nbsp; </div> <div style="clear:both"></div> </div> </div>http://www.macosxhints.com/article.php?story=20100725135725253Mon, 26 Jul 2010 14:30:00 GMTSecure Evernote for Mac application datahttp://feeds.macosxhints.com/click.phdo?i=519a8fa4ff3c65fd17ef452b3a5538e9<div class="story"> <div class="story-title">Secure Evernote for Mac application data <span style="padding-top:5px;float:right"><a href="http://www.macosxhints.com/index.php?topic=apps" rel="category"><img src="http://www.macosxhints.com/layout/hints1/images/topics/t_apps.png" class="floatright" alt="Apps" title="Apps" /></a></span> <br /> <span class="story-information">Jul 23, '10 07:30:00AM &#8226; Contributed by: <a class="storybyline" href="http://www.macosxhints.com/users.php?mode=profile&amp;uid=1070109">NURB</a></span> </div> <div class="story-body"> <a href="http://www.evernote.com/about/home.php">Evernote</a> is a combination of an application and a cloud based service to save notes, reminders, images and other data that can be accessed from a Mac, PC, iPhone or other mobile devices. This hint is about encrypting the local data store from the <a href="http://www.evernote.com/about/download/mac.php">Mac</a> version of the software. <br /><br /> Here's how to do it: <ul> <li>Quit Evernote from the Menu bar shortcut.</li> <li>Make an encrypted disk image using Disk Utility and mount it. (You may want to put it in your login items to open on login.)</li> <li>Move the folder: <em>~/Library/Application Support/Evernote</em> folder over to the disk image.</li> <li>Use the <a href="http://seiryu.home.comcast.net/~seiryu/symboliclinker.html">SymbolicLinker</a> Service (10.6) or plug-in (10.5 and earlier) or <a href="http://forum.evernote.com/phpbb/viewtopic.php?f=38&amp;t=10078&amp;p=52414#p52414">make the symbolic link</a> yourself via Terminal in the disk image from the moved Evernote folder (just making an alias does not work).</li> <li>Move the Symbolic Link to: <em>~/Library/Application Support/</em> to replace the original Evernote folder and be sure it's named 'Evernote.'</li> <li>Restart Evernote.</li> </ul> [<b>crarko adds:</b> I don't use Evernote, but I tested this with other files. The author originally used the commercial software <a href="http://agile.ws/knox">Knox</a> for the secure store, and that's a slicker method, but it also works using an encrypted disk image. This method obviously has applicability for things besides Evernote, but test carefully for whatever application(s) you use it with. SymbolicLinker is a nice find, too.] </div> <div class="story-control"> <div style="float:left"> &nbsp;&nbsp;&nbsp;&nbsp;&#8226;&nbsp; &nbsp;&nbsp; <br /> <div class="rating"> <span id="unit_long20100723091422880"> <ul id="unit_ul20100723091422880" class="unit-rating" style="width:75px;"> <li class="current-rating" style="width:0px;">Currently 0.00 / 5</li><li><a href="/rating/rate.php?score=1&amp;id=20100720191631811&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100723091422880&amp;st=1" title="1 out of 5" class="r1-unit rater" rel="nofollow">1</a></li><li><a href="/rating/rate.php?score=2&amp;id=20100720191631811&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100723091422880&amp;st=1" title="2 out of 5" class="r2-unit rater" rel="nofollow">2</a></li><li><a href="/rating/rate.php?score=3&amp;id=20100720191631811&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100723091422880&amp;st=1" title="3 out of 5" class="r3-unit rater" rel="nofollow">3</a></li><li><a href="/rating/rate.php?score=4&amp;id=20100720191631811&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100723091422880&amp;st=1" title="4 out of 5" class="r4-unit rater" rel="nofollow">4</a></li><li><a href="/rating/rate.php?score=5&amp;id=20100720191631811&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100723091422880&amp;st=1" title="5 out of 5" class="r5-unit rater" rel="nofollow">5</a></li> </ul> <span style="margin-left:77.5px;">&nbsp;&nbsp;(0 votes cast)</span></span> &nbsp; </div> </div> <div style="float:right; text-align:right"> [232 views] &nbsp; </div> <div style="clear:both"></div> </div> </div>http://www.macosxhints.com/article.php?story=20100720184445239Fri, 23 Jul 2010 14:30:00 GMTPython and UTF-8 text encoding on OSXhttp://feeds.macosxhints.com/click.phdo?i=529cb0586650d276310c29c8e9f22c9d<div class="story"> <div class="story-title">Python and UTF-8 text encoding on OSX <span style="padding-top:5px;float:right"><a href="http://www.macosxhints.com/index.php?topic=unix" rel="category"><img src="http://www.macosxhints.com/layout/hints1/images/topics/t_unix.png" class="floatright" alt="UNIX" title="UNIX" /></a></span> <br /> <span class="story-information">Jul 23, '10 07:30:00AM &#8226; Contributed by: <a class="storybyline" href="http://www.macosxhints.com/users.php?mode=profile&amp;uid=1072831">fcilender</a></span> </div> <div class="story-body"> I'm using a MacBook Air with Snow Leopard (10.6.2) as my development platform. And I'm using Python 2.6.4 with Unicode strings. <br /><br /> I received the following error when trying to run a script: <em>UnicodeEncodeError: 'ascii' codec can't encode character u'xe9'</em>, indicating that the text encoding was wrong. So it couldn't output a word like <em>appliqué</em> correctly. <br /><br /> I tried adding <tt># -*- coding: utf-8 -*-</tt> at the head of my Python script, but I still get this complaint. <br /><br /> To fix this, I found that the text encoding used for standard input, output, and standard error can be specified by setting the PYTHONIOENCODING environment variable before running the interpreter. <br /><br /> The value should be a string in the form &lt;encoding&gt; or &lt;encoding&gt;:&lt;errorhandler&gt;. The encoding part specifies the encoding's name, e.g. utf-8 or latin-1; the optional errorhandler part specifies what to do with characters that can't be handled by the encoding, and should be one of 'error', 'ignore', or 'replace'. <br /><br /> So typing <tt>export PYTHONIOENCODING=utf-8</tt> prior to invoking the Python interpreter does the trick, or you could just add this setting to your environment file: <em>~/.MacOSX/environment.plist</em>. <br /><br /> [<b>crarko adds:</b> I haven't tested this one.] </div> <div class="story-control"> <div style="float:left"> &nbsp;&nbsp;&nbsp;&nbsp;&#8226;&nbsp; &nbsp;&nbsp; <br /> <div class="rating"> <span id="unit_long20100723091424867"> <ul id="unit_ul20100723091424867" class="unit-rating" style="width:75px;"> <li class="current-rating" style="width:45px;">Currently 3.00 / 5</li><li><a href="/rating/rate.php?score=1&amp;id=20100713172452333&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100723091424867&amp;st=1" title="1 out of 5" class="r1-unit rater" rel="nofollow">1</a></li><li><a href="/rating/rate.php?score=2&amp;id=20100713172452333&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100723091424867&amp;st=1" title="2 out of 5" class="r2-unit rater" rel="nofollow">2</a></li><li><a href="/rating/rate.php?score=3&amp;id=20100713172452333&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100723091424867&amp;st=1" title="3 out of 5" class="r3-unit rater" rel="nofollow">3</a></li><li><a href="/rating/rate.php?score=4&amp;id=20100713172452333&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100723091424867&amp;st=1" title="4 out of 5" class="r4-unit rater" rel="nofollow">4</a></li><li><a href="/rating/rate.php?score=5&amp;id=20100713172452333&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100723091424867&amp;st=1" title="5 out of 5" class="r5-unit rater" rel="nofollow">5</a></li> </ul> <span style="margin-left:77.5px;">&nbsp;&nbsp;(1 vote cast)</span></span> &nbsp; </div> </div> <div style="float:right; text-align:right"> [221 views] &nbsp; </div> <div style="clear:both"></div> </div> </div>http://www.macosxhints.com/article.php?story=20100713130450549Fri, 23 Jul 2010 14:30:00 GMTUse AppleScript for a Virtual Numpadhttp://feeds.macosxhints.com/click.phdo?i=25f45d53eda51b36a628fcf8fb7290eb<div class="story"> <div class="story-title">Use AppleScript for a Virtual Numpad <span style="padding-top:5px;float:right"><a href="http://www.macosxhints.com/index.php?topic=system" rel="category"><img src="http://www.macosxhints.com/layout/hints1/images/topics/t_system.png" class="floatright" alt="System" title="System" /></a></span> <br /> <span class="story-information">Jul 22, '10 07:30:00AM &#8226; Contributed by: <a class="storybyline" href="http://www.macosxhints.com/users.php?mode=profile&amp;uid=1065135">nathanator11</a></span> </div> <div class="story-body"> The keyboards on Mac notebooks, and now desktops, too, have no number pad. It used to be that notebook keyboards had a numlock key, and you could use the letter keys on the right hand side of the keyboard as a number pad, but that feature seems to have vanished. It can, however, be brought back with AppleScript. [<b>crarko adds:</b> You can get it by pressing and holding the 'fn' key, which is also cumbersome.]<br /><br />The code given below will let you type as if this numpad existed. It will convert the letters into the corresponding numbers, and copy the result to the clipboard. When you need a numpad, just switch to this program, and then back to your original, and paste. Also, you can type normally by typing " " (double-space). Use that to switch to text mode, and again to switch out. For example: "jkl jkl jkl" will produce "123jkl123". If you use triple-spaces, one space will be left ("123 jkl 123"). So, you could type this: " My favorite number is jkluio789 ." and get "My favorite number is 123456789." Also, keys that do not represent any number will remain unchanged. Here's what each key does [<b>crarko adds:</b> Seeing the picture included in the download below will make this clearer]: <pre>U=4 I=5 O=6 P=+ J=1 K=2 L=3 M=0 ,=00 7, 8, and 9 stay the same.</pre> Normally, numpad keys aren't staggered, so this takes a little getting used to. But, I still find it a lot faster than the row of numbers at the top. <br /><br /> <div style="margin-left: 20px; margin-top:10px; margin-bottom:10px; padding: 5px; border:1px solid; width:520px; height:120px; overflow:scroll;white-space:nowrap;resize:both"><pre>set toQuit to false repeat while toQuit is false set dd to display dialog "Enter text..." with title "Numpad" buttons &#123;"Quit", "Continue"&#125; default button 2 default answer "" set ddText to text returned of dd as string set ddBtn to button returned of dd as string if ddBtn is "Quit" then set toQuit to true if ddBtn is "Continue" then set oldDel to AppleScript's text item delimiters as string set AppleScript's text item delimiters to "" as string set chars to items of ddText as list set AppleScript's text item delimiters to oldDel as string set nums to chars set sp to false set spSet to false set spUnSet to false considering case set valNum to 1 as integer repeat with val in nums if spSet is true then set spSet to false set valNum to valNum + 1 else if spUnSet is true then set spUnSet to false set valNum to valNum + 1 else if sp is true then if (val as string) is " " then if (item (valNum + 1) of nums) is " " then set sp to false set spUnSet to true end if end if set valNum to valNum + 1 else if (val as string) is "u" then set item valNum of nums to "4" if (val as string) is "i" then set item valNum of nums to "5" if (val as string) is "o" then set item valNum of nums to "6" if (val as string) is "p" then set item valNum of nums to "+" if (val as string) is "j" then set item valNum of nums to "1" if (val as string) is "k" then set item valNum of nums to "2" if (val as string) is "l" then set item valNum of nums to "3" if (val as string) is "m" then set item valNum of nums to "0" if (val as string) is "," then set item valNum of nums to "00" if (val as string) is " " then if (item (valNum + 1) of nums) is " " then set sp to true set spSet to true end if end if set valNum to valNum + 1 end if end if end if end repeat end considering set numsText to nums as string if numsText contains " " then set oldDel to AppleScript's text item delimiters as string set AppleScript's text item delimiters to " " as string set num to 1 set sps to (count text items of numsText) as integer set numsText2 to "" as string repeat with num from 1 to sps set numsText2 to (numsText2 &amp; text item num of numsText) as string set num to num + 1 end repeat set AppleScript's text item delimiters to oldDel as string else set numsText2 to numsText end if set the clipboard to numsText2 end if end repeat</pre></div> <br /><br /> [<b>crarko adds:</b> When trying the examples, you need to actually type the text into the entry box; copy and paste didn't always work. It takes a few minutes to get used to the spaces to change modes, but it does work. The source code, a compiled version of the app, and a picture of the virtual keypad are mirrored <a href="http://www.macosxhints.com/dlfiles/AS_Numpad.zip">here</a>.] </div> <div class="story-control"> <div style="float:left"> &nbsp;&nbsp;&nbsp;&nbsp;&#8226;&nbsp; &nbsp;&nbsp; <br /> <div class="rating"> <span id="unit_long20100722090213743"> <ul id="unit_ul20100722090213743" class="unit-rating" style="width:75px;"> <li class="current-rating" style="width:0px;">Currently 0.00 / 5</li><li><a href="/rating/rate.php?score=1&amp;id=20100722050924294&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100722090213743&amp;st=1" title="1 out of 5" class="r1-unit rater" rel="nofollow">1</a></li><li><a href="/rating/rate.php?score=2&amp;id=20100722050924294&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100722090213743&amp;st=1" title="2 out of 5" class="r2-unit rater" rel="nofollow">2</a></li><li><a href="/rating/rate.php?score=3&amp;id=20100722050924294&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100722090213743&amp;st=1" title="3 out of 5" class="r3-unit rater" rel="nofollow">3</a></li><li><a href="/rating/rate.php?score=4&amp;id=20100722050924294&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100722090213743&amp;st=1" title="4 out of 5" class="r4-unit rater" rel="nofollow">4</a></li><li><a href="/rating/rate.php?score=5&amp;id=20100722050924294&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100722090213743&amp;st=1" title="5 out of 5" class="r5-unit rater" rel="nofollow">5</a></li> </ul> <span style="margin-left:77.5px;">&nbsp;&nbsp;(0 votes cast)</span></span> &nbsp; </div> </div> <div style="float:right; text-align:right"> [227 views] &nbsp; </div> <div style="clear:both"></div> </div> </div>http://www.macosxhints.com/article.php?story=2010060515230735Thu, 22 Jul 2010 14:30:00 GMTRefresh a widget in Dashboardhttp://feeds.macosxhints.com/click.phdo?i=dcedd1a89a7586752fe0222a834c30a1<div class="story"> <div class="story-title">Refresh a widget in Dashboard <span style="padding-top:5px;float:right"><a href="http://www.macosxhints.com/index.php?topic=system" rel="category"><img src="http://www.macosxhints.com/layout/hints1/images/topics/t_system.png" class="floatright" alt="System" title="System" /></a></span> <br /> <span class="story-information">Jul 22, '10 07:30:00AM &#8226; Contributed by: Anonymous</span> </div> <div class="story-body"> To refresh a widget in the Dashboard, open the Dashboard, select a widget, and press Command-R. There is a slick little animation, and the widget will refresh. <br /><br /> [<b>crarko adds:</b> I've seen this before, but on searching didn't find it here as a hint. <a href="http://www.macosxhints.com/article.php?story=20070415081451932">Here</a> is a previous hint with a list of other interesting modifier keys. It looks like the wiki mentioned there is no longer active, so I'll see about creating a new one. Thanks to reader Reuven Volnoboy for pointing this out.] </div> <div class="story-control"> <div style="float:left"> &nbsp;&nbsp;&nbsp;&nbsp;&#8226;&nbsp; &nbsp;&nbsp; <br /> <div class="rating"> <span id="unit_long20100722090214653"> <ul id="unit_ul20100722090214653" class="unit-rating" style="width:75px;"> <li class="current-rating" style="width:60px;">Currently 4.00 / 5</li><li><a href="/rating/rate.php?score=1&amp;id=20100722035606794&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100722090214653&amp;st=1" title="1 out of 5" class="r1-unit rater" rel="nofollow">1</a></li><li><a href="/rating/rate.php?score=2&amp;id=20100722035606794&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100722090214653&amp;st=1" title="2 out of 5" class="r2-unit rater" rel="nofollow">2</a></li><li><a href="/rating/rate.php?score=3&amp;id=20100722035606794&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100722090214653&amp;st=1" title="3 out of 5" class="r3-unit rater" rel="nofollow">3</a></li><li><a href="/rating/rate.php?score=4&amp;id=20100722035606794&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100722090214653&amp;st=1" title="4 out of 5" class="r4-unit rater" rel="nofollow">4</a></li><li><a href="/rating/rate.php?score=5&amp;id=20100722035606794&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100722090214653&amp;st=1" title="5 out of 5" class="r5-unit rater" rel="nofollow">5</a></li> </ul> <span style="margin-left:77.5px;">&nbsp;&nbsp;(1 vote cast)</span></span> &nbsp; </div> </div> <div style="float:right; text-align:right"> [202 views] &nbsp; </div> <div style="clear:both"></div> </div> </div>http://www.macosxhints.com/article.php?story=20100721201927434Thu, 22 Jul 2010 14:30:00 GMTTime Machine: Mount backup disk on demandhttp://feeds.macosxhints.com/click.phdo?i=aec4a0c24dbdca4abf3f3de820040f80<div class="story"> <div class="story-title">Time Machine: Mount backup disk on demand <span style="padding-top:5px;float:right"><a href="http://www.macosxhints.com/index.php?topic=system" rel="category"><img src="http://www.macosxhints.com/layout/hints1/images/topics/t_system.png" class="floatright" alt="System" title="System" /></a></span> <br /> <span class="story-information">Jul 21, '10 07:30:00AM &#8226; Contributed by: <a class="storybyline" href="http://www.macosxhints.com/users.php?mode=profile&amp;uid=1013356">syzygies</a></span> </div> <div class="story-body"> It is both inconvenient and less safe to keep backup volumes mounted when not in use. A mounted volume is more prone to corruption, and open file dialogs needlessly spin up mounted volumes, contributing to a user experience latency that is most apparent if the primary drive is solid state. <br /><br /> By creating an /etc/periodic/hourly directory modeled after the existing /etc/periodic/daily directory, and adapting com.apple.periodic-daily.plist, there is a place to put a script that handles mounting and unmounting the Time Machine backup disk, and launching Time Machine.<br /><br />Scripts that implement nightly tasks can be placed in the <em>/etc/periodic/daily</em> directory, which is run at 3:15 AM by /System/Library/LaunchDaemons/com.apple.periodic-daily.plist. Using <tt>sudo</tt> in Terminal, create the parallel directory <em>/etc/periodic/hourly</em> and the parallel file /System/Library/LaunchDaemons/com.apple.periodic-hourly.plist. <br /><br /> Then clone the file com.apple.periodic-hourly.plist from com.apple.periodic-daily.plist, replacing each instance of <em>daily</em> by <em>hourly</em>, and replacing the <em>StartCalendarInterval</em> by a <em>StartInterval</em> of 3600 seconds. Specifically, replace: <pre>&lt;key&gt;StartCalendarInterval&lt;/key&gt; &lt;dict&gt; &lt;key&gt;Hour&lt;/key&gt; &lt;integer&gt;3&lt;/integer&gt; &lt;key&gt;Minute&lt;/key&gt; &lt;integer&gt;15&lt;/integer&gt; &lt;/dict&gt; </pre> with <pre>&lt;key&gt;StartInterval&lt;/key&gt; &lt;integer&gt;3600&lt;/integer&gt; </pre> The syntax for this file is documented by the man page <a href="http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man5/launchd.plist.5.html">launchd.plist(5)</a>. Now, after restart, any script placed in <em>/etc/periodic/hourly</em> will be run every hour as super user. <br /><br /> Turn off Time Machine in System Preferences, but leave the correct backup disk selected. One can still launch Time Machine from the command line or a script, by calling <em>backupd-helper</em>. Our script will mount and unmount the backup disk as necessary, and call Time Machine by this mechanism. <br /><br /> One can create a similar script to automate <a href="http://www.shirt-pocket.com/SuperDuper/">SuperDuper!</a> backups. One can reverse engineer a replacement for <em>backupd-helper</em> by watching SuperDuper! as it runs using the command line command <em>ps -ax | grep SDCopy</em>. Calling SDCopy is unsupported, but it has worked flawlessly for me for years, and opens up the possibility of updating folders as easily as volumes. <br /><br /> You can suggest that Apple implement this functionality for Time Machine, by providing feedback at <a href="http://www.apple.com/feedback/macosx.html">Mac OS X Feedback</a>. SuperDuper! requests that I not document this functionality for their SDCopy tool, so you should ask them to support mounting and unmounting backup volumes on demand. <br /><br /> Together, these scripts implement the software portion of silencing my external drives. To complete this task, one can either use passively cooled external enclosures, or replace the fan on an actively cooled enclosure. See <a href="http://www.math.columbia.edu/~bayer/WiebeTech/RTX220/">Modding the WiebeTech RTX220-QJ</a> for an example of how one might do this. <br /><br /> Here is the Time Machine script, written in Python. I have hard-wired my backup disk and log file directory, so the script needs to be adapted for use on a different system. (In general, one should never run any script as super user that one doesn't completely understand.) <br /><br /> <div style="margin-left: 20px; margin-top:10px; margin-bottom:10px; padding: 5px; border:1px solid; width:520px; height:120px; overflow:scroll;white-space:nowrap;resize:both"><pre>#!/usr/bin/env python # place in /etc/periodic/daily to run nightly (or hourly if set up): # # sudo cp -f timemachine.py /etc/periodic/daily/667.timemachine # sudo cp -f timemachine.py /etc/periodic/hourly/667.timemachine import re import datetime import time from subprocess import Popen, PIPE # do executes a shell command, returning stdout and stderr def do(cmd): p = Popen(cmd, shell=True, stdin=PIPE, stdout=PIPE, stderr=PIPE) (fi, fo, fe) = (p.stdin, p.stdout, p.stderr) fi.close() msg = fo.read() fo.close() fe.close() return msg # mounted checks if vol is mounted def mounted(vol): pat = r'/Volumes/(&#092;S+)&#092;s+[(](.+)[)]' msg = do('/sbin/mount') vols = dict(re.compile(pat).findall(msg)) return vol in vols.keys() # disks returns a dictionary associating e.g. 'Flash' to 'disk0s2' def disks(): pat = r'Apple_HFS&#092;s+(&#092;S+)&#092;s+.+(disk&#092;d+s&#092;d+)' msg = do('/usr/sbin/diskutil list') vols = re.compile(pat).findall(msg) return dict(vols) # sleep waits a bit def sleep(): time.sleep(30) # mount_volume returns pair (now mounted?, was mounted?), # after attempting to mount volume for "name" as needed def mount_volume(vol, logfile): if mounted(vol): (now, was) = (True, True) else: was = False diskID = disks() mountable = diskID.keys() if vol in mountable: do("/usr/sbin/diskutil mount %s >>'%s' 2>&1" % (diskID[vol], logfile)) sleep() now = mounted(vol) return (now, was) # unmount_volume unmounts volume def unmount_volume(vol, logfile): do("/usr/sbin/diskutil unmount '/Volumes/%s' >>'%s' 2>&1" % (vol, logfile)) # run Time Machine # Time Machine has finished when 'backupd' is no longer running logdir = '/Local/Backup Logs' backupd = "/System/Library/CoreServices/backupd.bundle/Contents/Resources/backupd-helper >>'%s' 2>&1" def start_backupd(logfile): do("echo 'starting Time Machine' >>'%s'" % logfile) do(backupd % logfile) def backupd_running(logfile): return do("ps -ax | grep [b]ackupd >>'%s' 2>&1" % logfile) def timemachine(vol): now = datetime.datetime.now().strftime("%F %H-%M-%S") logfile = "%s/%s (Time Machine)" % (logdir, now) (tnow, twas) = mount_volume(vol, logfile) if tnow: start_backupd(logfile) sleep() while backupd_running(logfile): sleep() if not twas: sleep() for i in range(1,8): sleep() unmount_volume(vol, logfile) if not mounted(vol): break # execute (replace 'Time' by name of Time Machine volume) timemachine('Time') </pre></div> <br /><br /> [<b>crarko adds:</b> I haven't tested this one. The python script is mirrored <a href="http://www.macosxhints.com/dlfiles/timemachine.py.zip">here</a>. As advised, be sure to gain an understanding of what the script does before attempting to use it.] </div> <div class="story-control"> <div style="float:left"> &nbsp;&nbsp;&nbsp;&nbsp;&#8226;&nbsp; &nbsp;&nbsp; <br /> <div class="rating"> <span id="unit_long20100721085634184"> <ul id="unit_ul20100721085634184" class="unit-rating" style="width:75px;"> <li class="current-rating" style="width:70.05px;">Currently 4.67 / 5</li><li><a href="/rating/rate.php?score=1&amp;id=20100715050413797&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100721085634184&amp;st=1" title="1 out of 5" class="r1-unit rater" rel="nofollow">1</a></li><li><a href="/rating/rate.php?score=2&amp;id=20100715050413797&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100721085634184&amp;st=1" title="2 out of 5" class="r2-unit rater" rel="nofollow">2</a></li><li><a href="/rating/rate.php?score=3&amp;id=20100715050413797&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100721085634184&amp;st=1" title="3 out of 5" class="r3-unit rater" rel="nofollow">3</a></li><li><a href="/rating/rate.php?score=4&amp;id=20100715050413797&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100721085634184&amp;st=1" title="4 out of 5" class="r4-unit rater" rel="nofollow">4</a></li><li><a href="/rating/rate.php?score=5&amp;id=20100715050413797&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100721085634184&amp;st=1" title="5 out of 5" class="r5-unit rater" rel="nofollow">5</a></li> </ul> <span style="margin-left:77.5px;">&nbsp;&nbsp;(3 votes cast)</span></span> &nbsp; </div> </div> <div style="float:right; text-align:right"> [194 views] &nbsp; </div> <div style="clear:both"></div> </div> </div>http://www.macosxhints.com/article.php?story=20100712085231232Wed, 21 Jul 2010 14:30:00 GMTHP all in one now can scanhttp://feeds.macosxhints.com/click.phdo?i=c999f5fe86068ebd76664d06c5d57cfd<div class="story"> <div class="story-title">HP all in one now can scan <span style="padding-top:5px;float:right"><a href="http://www.macosxhints.com/index.php?topic=hwprinter" rel="category"><img src="http://www.macosxhints.com/layout/hints1/images/topics/t_hwprinter.png" class="floatright" alt="Printers" title="Printers" /></a></span> <br /> <span class="story-information">Jul 21, '10 07:30:00AM &#8226; Contributed by: <a class="storybyline" href="http://www.macosxhints.com/users.php?mode=profile&amp;uid=1048402">gordonlbuchanan</a></span> </div> <div class="story-body"> I was having problems with my HP PSC 2110 all-in-one printer and in the process of troubleshooting was tinkering with the System Preferences for it. I just randomly clicked on the Scan button and the clicked Open Scanner. Up popped a scan window with 'Scanner is warming up.' Then it showed a preview window and a Scan button. I was completely blown away. I have been trying to get this scanner to work with Leopard and Snow Leopard for years. <br /><br /> This was after applying the most recent <a href="http://support.apple.com/kb/dl907">HP Printer Drivers v.2.4.1 for Mac OS X v10.6</a> update, so that is likely the fix. <br /><br /> [<b>crarko adds:</b> I haven't tested this one. It's nice to see the functionality returned to multi-function printers, even if it takes quite a while to happen. Remember to try the latest driver updates when they come out.] </div> <div class="story-control"> <div style="float:left"> &nbsp;&nbsp;&nbsp;&nbsp;&#8226;&nbsp; &nbsp;&nbsp; <br /> <div class="rating"> <span id="unit_long20100721085636135"> <ul id="unit_ul20100721085636135" class="unit-rating" style="width:75px;"> <li class="current-rating" style="width:0px;">Currently 0.00 / 5</li><li><a href="/rating/rate.php?score=1&amp;id=20100720084325998&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100721085636135&amp;st=1" title="1 out of 5" class="r1-unit rater" rel="nofollow">1</a></li><li><a href="/rating/rate.php?score=2&amp;id=20100720084325998&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100721085636135&amp;st=1" title="2 out of 5" class="r2-unit rater" rel="nofollow">2</a></li><li><a href="/rating/rate.php?score=3&amp;id=20100720084325998&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100721085636135&amp;st=1" title="3 out of 5" class="r3-unit rater" rel="nofollow">3</a></li><li><a href="/rating/rate.php?score=4&amp;id=20100720084325998&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100721085636135&amp;st=1" title="4 out of 5" class="r4-unit rater" rel="nofollow">4</a></li><li><a href="/rating/rate.php?score=5&amp;id=20100720084325998&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100721085636135&amp;st=1" title="5 out of 5" class="r5-unit rater" rel="nofollow">5</a></li> </ul> <span style="margin-left:77.5px;">&nbsp;&nbsp;(0 votes cast)</span></span> &nbsp; </div> </div> <div style="float:right; text-align:right"> [189 views] &nbsp; </div> <div style="clear:both"></div> </div> </div>http://www.macosxhints.com/article.php?story=20100720083750582Wed, 21 Jul 2010 14:30:00 GMTMeasuring screen elements in pixelshttp://feeds.macosxhints.com/click.phdo?i=143c9a4f5124377b807554e3a6b8ff75<div class="story"> <div class="story-title">Measuring screen elements in pixels <span style="padding-top:5px;float:right"><a href="http://www.macosxhints.com/index.php?topic=apps" rel="category"><img src="http://www.macosxhints.com/layout/hints1/images/topics/t_apps.png" class="floatright" alt="Apps" title="Apps" /></a></span> <br /> <span class="story-information">Jul 20, '10 07:30:00AM &#8226; Contributed by: <a class="storybyline" href="http://www.macosxhints.com/users.php?mode=profile&amp;uid=1012573">adipoos</a></span> </div> <div class="story-body"> Measuring elements on the screen quickly and easily can be really important for all sorts of tasks. I often use the excellent <a href="http://www.pascal.com/software/freeruler/">Free Ruler</a> app for this but don't always want to waste time opening it up. <br /><br /> For super-quick measurements just use the built-in screen capture command (Cmd-Shift-4) to drag and measure the element you're interested in instead. Click and drag to measure and to avoid taking a screenshot simply press the Escape key before releasing the mouse button. <br /><br /> I'd not really thought of this as a hint until a fellow designer was astounded when then they saw me doing this, so I thought I would share! <br /><br /> [<b>crarko adds:</b> Free Ruler has been <a href="http://www.macosxhints.com/article.php?story=2002021710353228">mentioned before</a> but this is a nice quick alternative.] </div> <div class="story-control"> <div style="float:left"> &nbsp;&nbsp;&nbsp;&nbsp;&#8226;&nbsp; &nbsp;&nbsp; <br /> <div class="rating"> <span id="unit_long20100720090646829"> <ul id="unit_ul20100720090646829" class="unit-rating" style="width:75px;"> <li class="current-rating" style="width:64.95px;">Currently 4.33 / 5</li><li><a href="/rating/rate.php?score=1&amp;id=20100720051118531&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100720090646829&amp;st=1" title="1 out of 5" class="r1-unit rater" rel="nofollow">1</a></li><li><a href="/rating/rate.php?score=2&amp;id=20100720051118531&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100720090646829&amp;st=1" title="2 out of 5" class="r2-unit rater" rel="nofollow">2</a></li><li><a href="/rating/rate.php?score=3&amp;id=20100720051118531&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100720090646829&amp;st=1" title="3 out of 5" class="r3-unit rater" rel="nofollow">3</a></li><li><a href="/rating/rate.php?score=4&amp;id=20100720051118531&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100720090646829&amp;st=1" title="4 out of 5" class="r4-unit rater" rel="nofollow">4</a></li><li><a href="/rating/rate.php?score=5&amp;id=20100720051118531&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100720090646829&amp;st=1" title="5 out of 5" class="r5-unit rater" rel="nofollow">5</a></li> </ul> <span style="margin-left:77.5px;">&nbsp;&nbsp;(3 votes cast)</span></span> &nbsp; </div> </div> <div style="float:right; text-align:right"> [225 views] &nbsp; </div> <div style="clear:both"></div> </div> </div>http://www.macosxhints.com/article.php?story=20100719093135976Tue, 20 Jul 2010 14:30:00 GMT10.6: A Service to show/hide hidden fileshttp://feeds.macosxhints.com/click.phdo?i=ce9cc1d8702e4389683260530efd8eb1<div class="story"> <div class="story-title">10.6: A Service to show/hide hidden files <span style="padding-top:5px;float:right"><a href="http://www.macosxhints.com/index.php?topic=system106" rel="category"><img src="http://www.macosxhints.com/layout/hints1/images/topics/t_system106.png" class="floatright" alt="System 10.6" title="System 10.6" /></a></span> <br /> <span class="story-information">Jul 20, '10 07:30:00AM &#8226; Contributed by: <a class="storybyline" href="http://www.macosxhints.com/users.php?mode=profile&amp;uid=1074273">colmiak</a></span> </div> <div class="story-body"> <img src="http://www.macosxhints.com/images/106only.png" alt="Snow Leopard only hint" align="left" style="margin-right: 10px" />There are many ways to show and hide the various hidden files and folders in Mac OS X. This one is an update to an older Automator workflow method. The <a href="http://www.macosxhints.com/article.php?story=20050810163522316">previous method</a> was to create a plug-in in Automator; now a pair of Services are used, so this hint only applies to Snow Leopard. Refer to the previous hint for usage in either Leopard or Tiger.<br /><br />Here's how to do it: <ul> <li>Launch Automator and choose Service as your template. (Be careful in the next steps if you copy and paste the code that the apostrophes and quotes come through as plain text.)</li> <li>On the left side, use the search bar to find the 'Run Shell Script' action (it's in Utilities) and drag three instances of that action over to the right side.</li> <li>At the very top on the right where is says 'Service receives selected' choose 'files or folders' in 'Finder.'</li> <li>In the first 'Run Shell Script' box type the following:<br /> <tt>defaults write com.apple.finder AppleShowAllFiles -bool TRUE</tt></li> <li>In the second box type the following:<br /> <tt>osascript -e 'tell application "Finder" to quit';</tt></li> <li>In the third box type the following:<br /> <tt>osascript -e 'tell application "Finder" to activate';</tt></li> <li>Save the file as <em>Show Hidden Files</em>.</li> <li>Now go back to the first 'Run Shell Script' box at the top and change the word TRUE to FALSE.</li> <li>It should now read:<br /> <tt>defaults write com.apple.finder AppleShowAllFiles -bool FALSE</tt></li> <li>Save this file as <em>Hide Hidden Files</em>.</li> </ul> That's all, now when you right click a file or folder, these options will show up at the bottom of the list. <br /><br /> To delete these Services go to <em>~/Library/Services</em> and just move both files to the trash. <br /><br /> [<b>crarko adds:</b> I tested this, and it works as described.] </div> <div class="story-control"> <div style="float:left"> &nbsp;&nbsp;&nbsp;&nbsp;&#8226;&nbsp; &nbsp;&nbsp; <br /> <div class="rating"> <span id="unit_long2010072009064713"> <ul id="unit_ul2010072009064713" class="unit-rating" style="width:75px;"> <li class="current-rating" style="width:60px;">Currently 4.00 / 5</li><li><a href="/rating/rate.php?score=1&amp;id=20100719050137320&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=2010072009064713&amp;st=1" title="1 out of 5" class="r1-unit rater" rel="nofollow">1</a></li><li><a href="/rating/rate.php?score=2&amp;id=20100719050137320&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=2010072009064713&amp;st=1" title="2 out of 5" class="r2-unit rater" rel="nofollow">2</a></li><li><a href="/rating/rate.php?score=3&amp;id=20100719050137320&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=2010072009064713&amp;st=1" title="3 out of 5" class="r3-unit rater" rel="nofollow">3</a></li><li><a href="/rating/rate.php?score=4&amp;id=20100719050137320&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=2010072009064713&amp;st=1" title="4 out of 5" class="r4-unit rater" rel="nofollow">4</a></li><li><a href="/rating/rate.php?score=5&amp;id=20100719050137320&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=2010072009064713&amp;st=1" title="5 out of 5" class="r5-unit rater" rel="nofollow">5</a></li> </ul> <span style="margin-left:77.5px;">&nbsp;&nbsp;(1 vote cast)</span></span> &nbsp; </div> </div> <div style="float:right; text-align:right"> [264 views] &nbsp; </div> <div style="clear:both"></div> </div> </div>http://www.macosxhints.com/article.php?story=20100719001040829Tue, 20 Jul 2010 14:30:00 GMTAdd custom keyboard shortcuts in Terminalhttp://feeds.macosxhints.com/click.phdo?i=28a016d80d48bdee935f15b8aab06e9b<div class="story"> <div class="story-title">Add custom keyboard shortcuts in Terminal <span style="padding-top:5px;float:right"><a href="http://www.macosxhints.com/index.php?topic=apps" rel="category"><img src="http://www.macosxhints.com/layout/hints1/images/topics/t_apps.png" class="floatright" alt="Apps" title="Apps" /></a></span> <br /> <span class="story-information">Jul 19, '10 07:30:00AM &#8226; Contributed by: <a class="storybyline" href="http://www.macosxhints.com/users.php?mode=profile&amp;uid=1019608">asmeurer</a></span> </div> <div class="story-body"> In Terminal, under the Keyboard tab of a theme, you can add custom keyboard shortcuts. However, if you try to add a custom shortcut that types a modifier key, you will have some difficulty. This is because the entry form seemingly makes it impossible to enter a modifier key or the escaped octal number for it.<br /><br />The way around this is to type a backslash <tt>&#92;</tt>, which will enter <tt>&#92;&#92;</tt>. Then arrow key left and type a forward delete. This will delete one of the backslashes, allowing you use the remaining one as an escape. You can, for example, use <tt>&#92;033</tt> to emulate the Option key. Another option is to look up the octal value for the key you want in the table at <a href="http://en.wikipedia.org/wiki/Ascii_invisible_characters#ASCII_control_characters">this Wikipedia article</a>, and type the corresponding control sequence. For example, option is ^[, or Control-[. It also turns out that this is the same as escape, so you can just press the esc key if you want Option. <br /><br /> So if you want option-left and option-right to act like they do in normal Mac OS X Cocoa text boxes, you can map option-left arrow and option-right arrow to <tt>&#92;033b</tt> and <tt>&#92;033f</tt>, respectively (see, this is actually two hints in one!). <br /><br /> Note: I encountered a bug where it wouldn't let me close the pull-down sheet. The solution is to click on the + beneath the sheet, like you are adding a new shortcut, and it will work and let you close that. <br /><br /> [<b>crarko adds:</b> I tested this, and it works as described. Remember on a laptop keyboard in order to type a forward delete you may need to use 'fn-delete' combination.] </div> <div class="story-control"> <div style="float:left"> &nbsp;&nbsp;&nbsp;&nbsp;&#8226;&nbsp; &nbsp;&nbsp; <br /> <div class="rating"> <span id="unit_long20100719093352909"> <ul id="unit_ul20100719093352909" class="unit-rating" style="width:75px;"> <li class="current-rating" style="width:45px;">Currently 3.00 / 5</li><li><a href="/rating/rate.php?score=1&amp;id=20100717050622763&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100719093352909&amp;st=1" title="1 out of 5" class="r1-unit rater" rel="nofollow">1</a></li><li><a href="/rating/rate.php?score=2&amp;id=20100717050622763&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100719093352909&amp;st=1" title="2 out of 5" class="r2-unit rater" rel="nofollow">2</a></li><li><a href="/rating/rate.php?score=3&amp;id=20100717050622763&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100719093352909&amp;st=1" title="3 out of 5" class="r3-unit rater" rel="nofollow">3</a></li><li><a href="/rating/rate.php?score=4&amp;id=20100717050622763&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100719093352909&amp;st=1" title="4 out of 5" class="r4-unit rater" rel="nofollow">4</a></li><li><a href="/rating/rate.php?score=5&amp;id=20100717050622763&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100719093352909&amp;st=1" title="5 out of 5" class="r5-unit rater" rel="nofollow">5</a></li> </ul> <span style="margin-left:77.5px;">&nbsp;&nbsp;(3 votes cast)</span></span> &nbsp; </div> </div> <div style="float:right; text-align:right"> [280 views] &nbsp; </div> <div style="clear:both"></div> </div> </div>http://www.macosxhints.com/article.php?story=20100716230217548Mon, 19 Jul 2010 14:30:00 GMTQuick Look and images: zoom in and outhttp://feeds.macosxhints.com/click.phdo?i=45d52b2073d28d8815a0177f71a5cb31<div class="story"> <div class="story-title">Quick Look and images: zoom in and out <span style="padding-top:5px;float:right"><a href="http://www.macosxhints.com/index.php?topic=desktop" rel="category"><img src="http://www.macosxhints.com/layout/hints1/images/topics/t_desktop.png" class="floatright" alt="Desktop" title="Desktop" /></a></span> <br /> <span class="story-information">Jul 19, '10 07:30:00AM &#8226; Contributed by: <a class="storybyline" href="http://www.macosxhints.com/users.php?mode=profile&amp;uid=1064756">renaultssoftware</a></span> </div> <div class="story-body"> If you're using Quick Look on an image, you'll appreciate the following trick for zooming. <br /><br /> Once you've opened the QL window on a JPEG or other image file, simply press Option and the pointer will change to a magnifying glass with a plus sign in the middle. Click somewhere on the image to zoom in. <br /><br /> Drag the cursor around to move around, or use the scroll wheel (2 fingers on trackpad) to move around. Option-Shift-click to zoom back out. <br /><br /> [<b>crarko adds:</b> I tested this, and it works as described. It doesn't work on PDF's, which is a bummer.] </div> <div class="story-control"> <div style="float:left"> &nbsp;&nbsp;&nbsp;&nbsp;&#8226;&nbsp; &nbsp;&nbsp; <br /> <div class="rating"> <span id="unit_long20100719093354188"> <ul id="unit_ul20100719093354188" class="unit-rating" style="width:75px;"> <li class="current-rating" style="width:67.5px;">Currently 4.50 / 5</li><li><a href="/rating/rate.php?score=1&amp;id=20100718101643356&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100719093354188&amp;st=1" title="1 out of 5" class="r1-unit rater" rel="nofollow">1</a></li><li><a href="/rating/rate.php?score=2&amp;id=20100718101643356&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100719093354188&amp;st=1" title="2 out of 5" class="r2-unit rater" rel="nofollow">2</a></li><li><a href="/rating/rate.php?score=3&amp;id=20100718101643356&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100719093354188&amp;st=1" title="3 out of 5" class="r3-unit rater" rel="nofollow">3</a></li><li><a href="/rating/rate.php?score=4&amp;id=20100718101643356&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100719093354188&amp;st=1" title="4 out of 5" class="r4-unit rater" rel="nofollow">4</a></li><li><a href="/rating/rate.php?score=5&amp;id=20100718101643356&amp;t=72.232.203.83&amp;c=5&amp;s=&amp;d=20100719093354188&amp;st=1" title="5 out of 5" class="r5-unit rater" rel="nofollow">5</a></li> </ul> <span style="margin-left:77.5px;">&nbsp;&nbsp;(2 votes cast)</span></span> &nbsp; </div> </div> <div style="float:right; text-align:right"> [319 views] &nbsp; </div> <div style="clear:both"></div> </div> </div>http://www.macosxhints.com/article.php?story=20100717105329814Mon, 19 Jul 2010 14:30:00 GMT