Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

How to fix "installed" apps appearing in Mac App Store Update Pane System 10.8
I had many applications show up as "Installed" in the update pane of the Mac App Store even after I had updated them. Apparently, if you have copies of an application on your system, even on a secondary drive, they are discovered by the Mac App Store. This causes a problem if you have a copy an application in the /Applications directory as well as somewhere else on your drive. If you update the application in the /Applications directory but not the other instance then the Mac App store will display the application on the Update Pane, but list it as "installed". Simply deleting the other instance of the application will cause the Mac App Store to refresh it's data and remove the application from the update list.

[kirkmc adds: I was seeing that in the early days of Mountain Lion. After running the updates again, they disappeared; I didn't think to check my backup drive, were I clone my startup volume, to see if those copies of my apps got updated.

I just checked the Mac App Store and found two updates waiting for me. (I thought it was supposed to alert me when there were updates?) I updated one app, quit the Mac App Store, then re-launched it; that app was no longer listed. So this may be a transient problem that Apple has resolved, but I'm publishing it anyway, in case others still see this issue.]
  Post a comment  •  Comments (6)  
  • Currently 3.25 / 5
  You rated: 3 / 5 (4 votes cast)
 
[26,572 views] Email Article To a Friend View Printable Version
PDF files with lines & rectangles in Preview work like forms Apps
PDF files with horizontal lines and rectangles, but not created as PDF form files, can be filled in as if they were actual PDF form files. Clicking on a line starts a text field the same width as the line. Clicking on a small rectangle toggles a check mark. Rectangles large enough for text entry are not treated as check boxes, but as text fields the same width as the box. After entering text on a line or in a text box, the text may be moved anywhere on the document and retain the formatting. And unlike PDF form files, text attributes as well as text field widths can be changed at will.

[kirkmc adds: I made a test document with Pages, and it works as described. This is pretty neat. I don't know if this is new in Mountain Lion, or if it existed before.]
  Post a comment  •  Comments (7)  
  • Currently 3.50 / 5
  You rated: 1 / 5 (8 votes cast)
 
[3,194 views] Email Article To a Friend View Printable Version
Flush DNS cache in Lion and Mountain Lion Network
I came across this Apple technical note this morning, which describes how to flush the DNS cache on your Mac. We have a hint for 10.5, which is also valid for 10.6, but we're not up to date.

So, as a reminder, to flush the DNS cache in Mac OS X 10.5 and 10.6, run this command in Terminal:
sudo dscacheutil -flushcache 
To do the same in 10.7 and 10.8, run this command:
sudo killall -HUP mDNSResponder 
As Apple points out, you might need to do this in the following situation:

"OS X keeps a local cache of resolved DNS queries for a time defined by the DNS server, but sometimes it may be necessary to reset the cache immediately and re-query a DNS server. For example, you might do this after an entry on the server is changed or a new entry is added."
  Post a comment  •  Comments (8)  
  • Currently 3.85 / 5
  You rated: 5 / 5 (13 votes cast)
 
[82,841 views] Email Article To a Friend View Printable Version
Keyboard shortcut for share panels in Mountain Lion System 10.8
To send Messages or tweets via the Share Panel or the Twitter field in the Notification Center, you can use the same keyboard shortcut as in Mail to send e-mails: Command-Shift-D.
  Post a comment  •  Comments (4)  
  • Currently 4.00 / 5
  You rated: 2 / 5 (6 votes cast)
 
[3,991 views] Email Article To a Friend View Printable Version
Be notified by Mail only for a specific mailbox System 10.8
Mail notifications, while useful, can be overwhelming. That's why Mail can restrict the notifications (Dock badge and Notification Center) to a specific mailbox or Smart Mailbox.

Notifications restriction is available from Mail's Preferences; however here is a way to change this setting using a script, without going through the GUI.

This is especially useful when used with location-aware apps, such as Marco Polo or ControlPlane: you can automatically be notified of your professional e-mails only when at work, and of your personal emails only when at home, for instance.

I find it especially useful to keep focused and reduce the amount of distracting notifications.

#!/bin/bash
#
# Configure Mail.app to enable notifications only in the specified mailbox.
# Notifications include the Dock badge and messages in the Notification Center.
#
# Usage:
#   restrict-mail-notifications 
#
# Example:
#   restrict-mail-notifications smartmailbox://f687826d-f4de-4724-9a12-c5794dcdaa32
#
# Notes:
#   To find the mailbox id you're interested in, look in the com.apple.mail.plist file.
#

mailboxID="$1"

if [ ! -n "$mailboxID" ]; then
	echo "Error: "mailboxID" parameter missing."
	echo "Usage: $0 "
	exit -1
fi

# Only display the unread messages count in the Dock for the specified mailbox
defaults write com.apple.mail MailDockBadgeMailbox "$mailboxID"

# Only display notifications for incoming messages in the specified mailbox
defaults write com.apple.mail MailUserNotificationScope -int '4' # Smart mailboxes
defaults write com.apple.mail MailUserNotificationMailbox "$mailboxID"

# Now relaunch Mail.app for changes to take effect
[kirkmc adds: I haven't tested this.]
  Post a comment  •  Comments (2)  
  • Currently 3.00 / 5
  You rated: 5 / 5 (4 votes cast)
 
[3,285 views] Email Article To a Friend View Printable Version
Open a file from within Quick Look with an application other than the default System 10.8
In iOS, whenever you view a document attached to an e-mail, you can click the Share button to send the document to a list of compatible applications, not just the preferred one. The same option is available in Mountain Lion whenever you use Quick Look to view a document.

When you display a document using Quick Look, you can now right-click on the "Open in xxxx" button, and see a list of compatible applications. This makes it easy to open, for example, a spreadsheet or graphic in your application of choice instead of the default application.
  Post a comment  •  Comments (4)  
  • Currently 3.80 / 5
  You rated: 5 / 5 (5 votes cast)
 
[2,839 views] Email Article To a Friend View Printable Version
Use any search engine with Safari Apps
Safari lets you choose from three search engines: Google, Yahoo! and Bing. You may want to use a different search engine, and Matt Swain's AnySearch Safari plugin lets you do that. It can also turn off Safari's 6's "omnibar" so it doesn't search, and only functions as an address bar.

As a bonus, his KeySearch extension can expand the use of the omnibar to let you search on many sites, such as Wikipedia, Amazon, IMDb, and any site you wish to search, just by using keywords. For example, you can type "wiki Marcel Proust" to search for the Wikipedia page of that author.
  Post a comment  •  Comments (1)  
  • Currently 4.00 / 5
  You rated: 4 / 5 (8 votes cast)
 
[8,292 views] Email Article To a Friend View Printable Version
Burn OS X Mountain Lion installer to single-layer DVD System 10.8
If you've tried burning the Mountain Lion installer to a standard DVD, you've probably noticed that it does not quite fit. Fortunately, there is a way around this.

The problem is that the size of the InstallESD image is fixed at 4.75 GB; slightly larger then a 4.7 GB single-layer DVD. However, the actual contents of the image occupy only 4.38 GB on disk, which will fit on a standard DVD.

In order to cram Mountain Lion onto a standard DVD, we need create a slightly smaller image file of the exact same format, copy the contents over, then burn it to a DVD.

I've written a small script to make this process quick and easy. Simply paste the code below into a plain text document and save it with a file extension of ".sh" To run the script, fire up Terminal and enter "bash /path/to/script.sh". When this script finishes, you will have a new, smaller DVD image in your home folder, ready for burning.

NOTE: This script assumes you have the "Install OS X Mountain Lion" application in /Applications. It won't work if it's located elsewhere. You'll also want to make sure you have at least 9 GB of disk space free, as the script temporarily creates two additional copies of the install image.
#! /bin/bash

rm -f /private/tmp/Mountain\ Lion\ DVD\ Image\ read-write.dmg # Remove any old copies of the DVD image before we begin.

echo "Creating DVD Image..."
hdiutil create -size 4.2g -volname "Mac OS X Install ESD" /private/tmp/Mountain\ Lion\ DVD\ Image\ read-write.dmg -fs HFS+ -layout SPUD

# hdiutil attach -nobrowse /Applications/Install\ OS\ X\ Mountain\ Lion.app/Contents/SharedSupport/InstallESD.dmg
hdiutil attach -nobrowse ~/Desktop/InstallESD.dmg 
hdiutil attach -nobrowse /private/tmp/Mountain\ Lion\ DVD\ Image\ read-write.dmg

echo "Copying Mountain Lion to new image..."
cp -pRv /Volumes/Mac\ OS\ X\ Install\ ESD/* /Volumes/Mac\ OS\ X\ Install\ ESD\ 1/

hdiutil detach /Volumes/Mac\ OS\ X\ Install\ ESD\ 1
hdiutil detach /Volumes/Mac\ OS\ X\ Install\ ESD

echo "Converting to read-only..."
hdiutil convert /private/tmp/Mountain\ Lion\ DVD\ Image\ read-write.dmg -format UDZO -o ~/Desktop/Mountain\ Lion\ DVD\ Image.dmg

rm -f /private/tmp/Mountain\ Lion\ DVD\ Image\ read-write.dmg

echo "Image Creation Complete. Please burn '~/Desktop/Mountain Lion DVD Image.dmg' to a DVD using Disk Utility."
open ~/Desktop/
[kirkmc adds: I haven't tested this. Given the cost of USB sticks, and the fact that, if you do want an installer, it's better to have the most recent one, I've gone that route using Lion DiskMaker. Some people may prefer DVDs, but another factor is whether or not your Mac has an internal DVD drive; my Macs - a Mac mini and a MacBook Pro - do not, so USB is easier than using an external drive. Note: I've updated the script in the hint to the last revision below in the comments as of 8/18/12.]
  Post a comment  •  Comments (21)  
  • Currently 4.29 / 5
  You rated: 4 / 5 (7 votes cast)
 
[40,860 views] Email Article To a Friend View Printable Version
Another way to find iCloud documents Apps
In response to the previous hint about accessing iCloud documents from the hidden Library folder in the Finder, it turns out there is an easier way.

Just go to All My Files and the files will show up in their respective categories (or organized another way if you prefer). The path bar for these files lists their location as simply "iCloud." If you don't have All My Files visible in the Finder sidebar, you can add it by going to the Finder's preferences and checking it.

[kirkmc adds: This is interesting, but it's too bad there's no "iCloud" category to find them more easily; they're mixed in with all your other documents. Of course, the whole point of iCloud is that you don't worry about where the documents are…]
  Post a comment  •  Comments (0)  
  • Currently 3.25 / 5
  You rated: 2 / 5 (4 votes cast)
 
[6,196 views] Email Article To a Friend View Printable Version
New location for application AppleScripts in 10.8 System 10.8
I discovered while adding some new Mail rules that existing rules which ran an AppleScript seemed to be missing the scripts I had designated, even though they were still in my Scripts folder (~/Library/Scripts). Upon clicking the "Open in Finder" option in the drop-down menu for choosing an existing AppleScript, it took me to a new file path: ~/Library/Application Scripts/com.apple.mail.

You just need to copy or move the scripts to the new folder. Mail seems smart enough to remember the earlier choice and update the rules by moving the scripts to the new folders.

[kirkmc adds: This probably has something to do with sandboxing. The only other application I use AppleScripts for is iTunes, and their location hasn't changed. Can anyone post in the comments if they see other folders in the Application Scripts folder?]
  Post a comment  •  Comments (7)  
  • Currently 3.83 / 5
  You rated: 1 / 5 (6 votes cast)
 
[7,541 views] Email Article To a Friend View Printable Version