There are days when I cannot connect to iChat's servers - well, actually to the AIM servers that iChat uses. The fix is simple yet odd. I use SSL with iChat, and all it takes to get the connection is to turn it off. Go to iChat > Preferences > Accounts, click on your account, then click on the Server Settings tab. You must be offline to make changes here. If you have Use SSL checked, uncheck it, then connect. Disconnect, then reconnect it, if you still want to use SSL. I don't know why this works, but it does.
I have been using plain text files (.txt) for storing my notes since the arrival of Notational Velocity a while ago. When I saw that Mountain Lion will have a dedicated Notes app, I decided it would be great to switch over to Mail's notes system in preparation for the new OS.
I couldn't find a suitable method for rapidly importing my text notes into apple mail, so I combined a script found on MacRumors with some python, which can then be packaged into a Service using Automator ("Service receives selected files and folders").
for filename in sys.argv[1:]:
text = open(filename,'r').readlines()
title = os.path.splitext(os.path.basename(filename))
text = title +'\n'+' '.join(text)
# Store file contents in clipboard
outf = os.popen("pbcopy", "w")
cmd = """osascript< < END
tell application "Mail"
tell application "System Events"
tell process "Mail"
click the menu item "New Note" of the menu "File" of menu bar 1
click the menu item "Paste" of the menu "Edit" of menu bar 1
[kirkmc adds: I haven't tested this. But I do agree that it will be practical to use Apple's Notes app on Mountain Lion. However, I'm not prepared to use Mail for notes; I don't like the display options.]
The Mail application can report the number of unread e-mails via a badge on the application’s Dock icon. It would be more useful if the badge showed more relevant personal e-mails (sent to you personally and not to a mailing list, ord sent from somebody you know). This way the user is interrupted less often, while still keeping track of relevant emails. Recently, Gmail has offered a way to prioritize emails (Gmail > Settings > Personal level indicators). The good news is that a similar technique can be used in Mail.
To have the personal emails reported, first create a “Personal email” rule. To create a rule in Mail, choose Mail > Preferences > Rules, then click on "Add rule." Name the rule “Personal email” and select the following:
The rule should match any of the following conditions
"Sender is in my Previous Recipients"
"Sender is in my Address Book"
"Perform action": flag emails with a gray flag
Next, create a smart mailbox called “Relevant emails” that communicates with the rule defined above by looking at flagged emails. You can create a smart mailbox by choosing Mailbox > New Smart Mailbox. Specify that e-mails in the smart mailbox should satisfy all of the following conditions:
E-mail should be unread ("Message is unread")
Flagged ("Message is flagged")
In your inbox ("Message is in Mailbox Inbox")
Has been sent directly to you ("Any recipient contains myemail@mydomain").
Finally, go to Mail's General preferences, and next to “Dock unread count” choose the “Relevant emails” smart mailbox.
The dock badge will now count unread personal e-mails from the smart mailbox you just created.
[kirkmc adds: I have actually done something similar for years. I have a "Current" smart mailbox, which contains messages that are important; everything but mailing lists, Google alerts and spam. That is the one I have selected for the Mail icon badge.
We ran a hint about this in 2009, but it simply specified how to choose a smart mailbox for the badge count. This current hint is useful as it explains how to filter specific e-mails that come from people you know.]
There used to be a great tool called Secrets, which was a preference pane, and which allowed GUI access to many of these commands. Alas, Secrets hasn't been updated for Lion, so using Terminal is the best way to apply these commands.
If you're unfamiliar with how to use these commands, here's what you need to know. Open Terminal (in /Applications/Utilities), then paste one of the commands into Terminal and press Return. The commands in the list are the parts that begin with "defaults," such as:
defaults write com.apple.dock no-glass -bool true
This command removes the 3D graphics from the Dock.
In 10.7, Apple changed Terminal to include a drop-down path icon in the window's title bar, similar to what you get in Finder and many other applications.
While some may like this, the problem is that it actually changes the window's title, as seen by applications (such as our own window manager, Moom). For instance, run this command in 10.7's Terminal...
osascript -e "tell application \"Terminal"\ to return name of window 1"
...and you'll see the current folder reflected in the window title. If you'd rather not have the path there, the fix is simple. Just add this command to your .profile file (or whatever file you use to init your Terminal windows):
Save the .profile file, close and open a new Terminal window, and you'll see that the folder drop-down has vanished from the window title.
In iTunes, there are two ways to categorize your videos: as either Movies or TV Shows. I use the Movies category for very large files, and put everything else in TV Shows, because in the TV Shows library, iTunes allows you to create groups. I've created groups called You Tube Videos, Home Videos, Work Stuff, etc.
To create a group, first make sure both TV Shows and Movies are visible in the iTunes source list. If they're not, go to iTunes' General preferences and check Movies and TV Shows in the Show section.
Next, import your new movie into iTunes by dragging it to the source list where these libraries display. In most cases, iTunes will categorize it as a movie. Select the movie and press Command-I to display the Info window. Click on the Options tab, then, under Media Kind, choose TV Show. If it's as short video, you might want to uncheck Remember Playback Position, because you will most likely always want to start these types of files from the beginning.
Next, click on the Sorting tab. Correct the tag that iTunes applied, if necessary, in the Name field. To create a nested group, you must enter some text in the Show field. You'll want to apply the same name for every item in the group, so the files stay in that group. Click on OK, and this will be applied.
When you look at your TV Shows library now, you'll see that all members of a group will display, in Icon or Cover Flow view, behind a single icon. In Album List view, all of the videos will display, but you'll see them sorted by "Show," or the group name you gave them.
[kirkmc adds: This is a good workraound that can help you organize a big video library, though there are some problems. iTunes seems to choose arbitrarily which icon to display when in icon view, rather than, say, the first item.
Another way you could do this, if you want to display the items in Icon view, is to choose to display them by Genre, and apply custom genres to your video files. However, using the Show tag allows this organization to also display on an Apple TV.]
My workflow often involves taking Word Documents and manipulating them with handwritten annotations on my iPad. With this method, I can immediately take a downloaded .docx (or presumably any other MS Office file), convert it to a PDF, get it into my Dropbox, and finally my annotation app; all without leaving the iPad. While it may seem clumsy at first, it only takes four easy steps.
You will need the Pages app, the Dropbox app, a Dropbox account, and a a send to dropbox account.
1. Import your document into the Pages app.
2. Tap the wrench and select "Share and print."
3. Email a PDF to your @sendtodropbox address.
4. Check out the "Attachments" folder in Dropbox (or your desired Dropbox-linked 3rd party app).
I'd come across this before, and it was very annoying. Last night, I downloaded a zip archive of freely-distributed MP3 files, and when I double-clicked it to decompress it, all I got was a .cpgz file. This is apparently a zipped CPIO archive file. Double-clicking that file just created the zip file again, and this was an endless loop
Searching on Google, I saw that plenty of people had come across this problem, and offered a number of suggestions, none of which worked for me. Some articles suggested that the download might have been corrupted, but as this was a very large file, I didn't want to try and download it again.
The solution for me was to use the free The Unarchiver, which has turned out to be a Swiss army knife for decompressing many obscure types of archives. Opening the file with The Unarchiver decompressed it correctly.
I didn't think of it at the time - and I have since deleted the archive - but the cpio command would probably have worked via Terminal as well. In any case, if you encounter this odd archive decompression loop, here's an easy way to solve the problem
The other day on Twitter, Macworld senior editor Dan Frakes mentioned that he had accidentally discovered an undocumented keyboard shortcut to delete messages in Mail. My guess is that he just leaned on his keyboard, but he figured out, after deleting a number of messages, that this shortcut is Control-H.
This makes sense, as this is the Unix keybinding for the Backspace or Delete key (see this Wikipedia article), and OS X uses these shortcuts, at least in Cocoa applications; you can use the Control-H shortcut to delete text in those applications that use the Cocoa text input framework. But its use to delete messages in Mail is interesting. If anyone discovers other apps where this works, post them in the comments.
The latest update to Google Earth for iOS, version 6.2, can open .kmz or .kml files on websites, but you can also e-mail these to yourself to use on your iPhone or iPad. If you're in the desktop version of Google Earth, right-click on a link and choose Email..., and a new message will be made with the .kmz file as an attachment. When you receive this on your iOS device, tap and hold, then open the file with Google Earth.
[kirkmc adds: This works as described. I have to say, the only time I ever open Google Earth is to follow the route of the Tour de France...]