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

Access all your iCloud files from the Finder sidebar
We've had some hints about finding iCloud documents in the Finder. This hint shows where they are located, and how to navigate through the various local folders that contain them. Both a comment to that hint and an anonymous submission point out how to make a saved search for documents in the cloud.

Go to the ~/Library/Mobile Documents folder. Type anything in the search field in your Finder window. Make sure that Mobile Documents is selected in the Search bar, not This Mac.

Next, click on the + icon, and choose Kind is Document. Go back to the search field and erase what you typed. Now all your iCloud documents will display.

Click on Save, and check Add to Sidebar to add this search to your Finder window sidebars.

Note: one submission said to type a period (.), and, while this starts the search, this may not find all your documents if extensions are not visible. So it's best to start a search, then choose Kind is Document and delete the search.

Note also that you may end up with documents here that you cannot view or edit. For example, I use the ToDo task manager, and its file shows up, but it is not a file that I can edit. Interestingly, I found three Pages documents, each a size of 0 bytes, that don't show up in Page's iCloud panel, so this may also be a way of cleaning out extraneous files from this folder.
  Post a comment  •  Comments (2)  
  • Currently 3.57 / 5
  You rated: 5 / 5 (7 votes cast)
[20,297 views] Email Article To a Friend View Printable Version
New poll: What do you think of iCloud for document storage?
With the advent of document storage on iCloud, Mac users are facing a new way of managing documents. As some hints here have shown, people still want "normal" access to their files in the Finder.

Using iCloud for document storage can be confusing. Personally, I want to be able to access files I've created or edited with one app in a different app, and iCloud prevents that. But what do you all think?

Vote in the latest poll, and feel free to leave comments about iCloud either here or on the poll page. Love it? Hate it? In between? Let us know.
  Post a comment  •  Comments (10)  
  • Currently 3.00 / 5
  You rated: 3 / 5 (6 votes cast)
[3,489 views] Email Article To a Friend View Printable Version
Add default fonts to Notes Apps
Notes only offers three default fonts, and there is no GUI option to change these or add others. You can, however, add fonts by editing a plist file.

Open /Applications/ (or the equivalent for the language you use), and you'll see three sets of text like this:
Copy one of them, paste it at the below those three sections, and add your preferred font and size. Note that you can specify the weight with "-Light," "-Bold," etc. Save the file, relaunch Notes, and choose your new default font from Format > Font > Default Font.
  Post a comment  •  Comments (7)  
  • Currently 3.00 / 5
  You rated: 2 / 5 (6 votes cast)
[8,588 views] Email Article To a Friend View Printable Version
Keyboard shortcut to save directly in iCloud Apps
Many of the "main" folders of OS X can be accessed with shortcuts in an Open/Save dialog. If you don't know these, they are Command-D for the Desktop, and Command-Shift-H for your home folder.

With the advent of iCloud, there is now a new shortcut to save files in that location, for apps that support iCloud: Command-Shift-I.
  Post a comment  •  Comments (2)  
  • Currently 2.75 / 5
  You rated: 3 / 5 (4 votes cast)
[5,429 views] Email Article To a Friend View Printable Version
Access older versions of documents stored on iCloud via Time Machine
If you use iCloud to store your documents, these files are also stored on your Mac, and therefore backed up by Time Machine, if you use the latter feature. (See this hint for more about where these files are stored on your Mac.) If you want to look for an older version of a file, or a file you deleted, display the iCloud pane in any app that supports iCloud, then, from the Time Machine icon in the menu bar, choose Enter Time Machine. This will give you a Time Machine view of the iCloud pane for that application only, and you can find older versions or deleted files.
  Post a comment  •  Comments (4)  
  • Currently 2.75 / 5
  You rated: 5 / 5 (16 votes cast)
[9,170 views] Email Article To a Friend View Printable Version
Remotely connect to a Mac via SSH using iCloud's network Network
If you're running two Macs with iCloud support (Lion or Mountain Lion), then you can use iCloud's network to remote SSH back into your home computer no matter where you are with just a few commands in Terminal.

The process is explained by the One Thing Well blog, but you need to set up a few things before you get started. First, you need to make sure Back to My Mac is enabled in iCloud (System Preferences > iCloud > Back to My Mac). Next, you need to set up your home computer for sharing if it isn't already. Head to System Preferences > Sharing and turn on at least File Sharing and Remote Login. With everything set, you can now remotely log in to your home computer using iCloud's network wherever you have internet access.

To start with, you need to do is find your Back to My Mac account number. In Terminal (Applications > Utilities), type:
dns-sd -E
The final nine digit number is your Back to My Mac account number. Next, it's time to SSH into your other machine:
 ssh -2 -6 username@computer-name.[account number] 
If you don't know your username or computer name, head to System Preferences > Sharing on the destination computer and click on Remote Login. Your Computer name is listed at the top (if it's multiple words use the address with the dashes). Your username is listed on the line below Remote Login right before the @ symbol. You will need to do this before you try to SSH into your computer when you're away.

With that, you should have access to your Mac no matter where you are. Head over to One Thing Well for a few more tricks and shortcuts for using the iCloud network to remote SSH.

[kirkmc adds: I haven't tested this.]
  Post a comment  •  Comments (9)  
  • Currently 2.69 / 5
  You rated: 2 / 5 (26 votes cast)
[29,113 views] Email Article To a Friend View Printable Version
Auto-delete a DMG file when ejecting a disk image System
While the Mac App Store is great, I still find myself downloading .dmg files and installing plenty of third-party software. I often forget to delete .dmg files after I've installed applications. Here's a script to automatically move the .dmg file to the trash when you eject the disk image.

To use this script, select the mounted volume in the Finder (or in the "Devices" section of the Finder sidebar), and trigger this script via your favorite macro app instead of ejecting the disk image normally.
tell application "Finder"
	set selection_list to selection
	if (count selection_list) < 1 then
		display dialog 
			"Please select a volume mounted from a disk image." with title 
			"No Selection Found" with icon stop 
			buttons ["OK"] default button 1
	end if
	set my_selection to item 1 of selection_list
	set my_kind to kind of my_selection
	set my_name to name of my_selection
	if my_kind is not "Volume" then
		display dialog 
			"Please select a volume mounted from a disk image file." with title 
			"Selection is not a Disk Image" with icon stop 
			buttons ["OK"] default button 1
	end if
	set volume_list to paragraphs of (do shell script "hdiutil info | grep ^/dev/disk | grep -o '/Volumes/.*'")
	set source_list to paragraphs of (do shell script "hdiutil info | grep ^image'-'alias | grep  -o '/.*'")
	set match_found to false
	repeat with v from 1 to (count volume_list)
		if "/Volumes/" & my_name = item v of volume_list then
			set match_found to true
			exit repeat
		end if
	end repeat
	if match_found is not equal to true then
		display dialog 
			"The selected volume does not appear to be a Disk Image." with title 
			"Could not find Disk Image" with icon stop 
			buttons ["OK"] default button 1
		set my_source to POSIX file (item v of source_list) as alias
		move my_source to the trash
		eject my_selection
		--reveal my_source
	end if
end tell
Matt Rajca has a script that does the reverse: ejects a Disk Image volume when you trash the .dmg file.

Could you simply have a search that looks for old .dmg files in your Downloads folder? Yes, though I often forget to open and install .dmg files right away, so I prefer linking the delete action to the eject.

[kirkmc adds: This works for me if I select a volume in a Finder window, but not in the sidebar. This hint was submitted before Mountain Lion, so perhaps there's something that needs to be tweaked for 10.8. I figured it is worth posting so you all can find what to fix; I'll update the script in the hint if someone provides a solution in the comments.]
  Post a comment  •  Comments (11)  
  • Currently 3.00 / 5
  You rated: 5 / 5 (5 votes cast)
[8,113 views] Email Article To a Friend View Printable Version
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: 1 / 5 (4 votes cast)
[28,633 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: 5 / 5 (8 votes cast)
[3,301 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: 2 / 5 (13 votes cast)
[87,213 views] Email Article To a Friend View Printable Version