When using Gmail (I don't know if this is the case with other webmail providers), if you reply to a message in your Sent mailbox, the recipient of the reply message is set to the recipient of the original message you sent. That makes sense, it's useful for quickly replying to a message you've just sent when you realize you've forgotten something (like an attachment).
However, Apple Mail doesn't work that way; if you reply to a message in your Sent mailbox, you (the sender of the original message) become the recipient of the reply message (which is pretty useless in my opinion).
If you choose Reply all instead of Reply, it's a little better: you are still the 'To' recipient of the reply message, but the recipients of the original message are added as Cc: recipients of the reply message.
I used this fact to create an AppleScript that when invoked creates a reply to the selected message in the Sent mailbox in Mail, with the recipients of the original message as 'To' recipients of the reply message and no Cc: recipient, thus restoring Gmail's behavior in Mail.
Here is the script:
tell application "Mail"
set theMessages to the selected messages of the front message viewer
(*the script is intended to work on only one message but if "selection" is used instead of "selected items" along with "first item of" on the next line, nothing happens (no message appears). I think it's a bug in the reply command. (A little Google search shows you this command has a buggy past...) *)
set theMessage to first item of theMessages
set outgoingReplyMessage to (reply theMessage with opening window and reply to all)
(*"reply to all" is always used in order to get the recipients of the original message in the Cc field (as I said above, if it's not used, the original recipients are not used anywhere). They are switched to the To field later on. *)
set theIntendedRecipientsAdresses to (get address of every cc recipient of outgoingReplyMessage)
set quoted to quote original message
if quoted is true then
set quote original message to false
(*this is to prevent the cited text of the original message to appear a large number of time in the reply message (in my tests, it was copied at least 27 times). I think this is another bug... *)
repeat with theIntendedRecipientAddress in theIntendedRecipientsAdresses
(*this is the real work : each cc recipient is copied to the To recipient field. *)
set theIntendedRecipient to make new to recipient at the end of to recipients
set address of theIntendedRecipient to theIntendedRecipientAddress
set address of first to recipient of outgoingReplyMessage to ""
--deletes you (the sender) from the list of To recipients
set address of cc recipient of outgoingReplyMessage to ""
--deletes every Cc recipients
if quoted is true then
set quote original message to true
For ease of use, I copied that script into a 'Run Applescript' Automator action (receive no input, in application Mail) and saved it as a Service (10.6 only). I then assigned a keyboard shortcut for it using the Keyboard preference pane of System Preference (Under the Keyboard Shortcut tab, then choosing Services on the left). Command+Option+Shift+R and Command+Control+Option+R are both available in Mail.
Of course, you can also use it with your favorite shortcut application, be it Quicksilver, Butler, Alfred, Keyboard Maestro, etc. Just save it as a Script instead (.scpt).
Be warned that this script is only intended to be used in the Sent mailbox; using it on a message in your Inbox won't work (and could lead to errors.) What's more, there is no error detection to verify it is used in the Sent mailbox.
[crarko adds: I tested this, and it works as described. A very useful script.]
In Mail.app, press Command+I on the Inbox icon (or right-click on it and choose 'Get Account Info') and sample the awesomeness. Actually, this works with any of the main mailbox icons. Just select an account from the popup menu.
It gives space usage for each folder and quota limits for the account, plus other settings from the 'Account Info' preference, and works for Gmail and Exchange too. I just stumbled onto it and found it worth sharing.
[crarko adds: I tested this, and it works as described. I hadn't seen this one before either. I looked, but didn't see a previous hint on it. Let me know if I'm mistaken.]
You can make iTunes Home Sharing work better by switching off the old unused method of sharing.
I'd been having lots of problems with connecting from my Apple TV and iPad/iPods to my iTunes library using Home Sharing. It turns out that Home Sharing is completely separate to the old sharing system in iTunes and the old version can be switched off. This has improved the performance a lot for me.
[crarko adds: I'm trying this, but it's too early for me to tell if there is any improvement or not. It certainly seems worth trying if you don't need the old style of sharing.]
Here's how to restore the old method of adding sides and changing star inset to the Polygon Tool in InDesign CS5.
I have previously used the Polygon Tool to create star shaped objects in InDesign, and I like the old way of changing the number of sides and the star inset of the shapes dynamically while drawing the shape.
In every version of InDesign until version 7 included in the CS5 package, you could change the number of sides by pressing the up- or down-arrows on the keyboard, and change the star inset by pressing the left- or right-arrows.
Adobe, however, in InDesign version 7 introduced the very clever option of drawing multiple shapes simultaneously by using the arrow keys while drawing a shape, and the only official way to change the polygon is to double click the Polygon Tool before drawing or with the polygon selected. While this is useful, you have no preview of the result before applying.
Today I got annoyed enough to start looking for a way to get the old behavior back, and finally stumbled on a solution. The trick, it turns out, is to press the Return or Enter key while you are still drawing the shape (without letting go of the mouse button). You can then use the arrow-keys just as in earlier versions to change the shape while drawing. It also turns out that the Return- and Enter-key work as toggles, and by pressing one of them again you return to the new multi-object mode and can add or remove shapes again.
One of my favorite parts of Adobe Bridge CS5 is the Favorites panel, which lets you pin favorite folders to a sidebar for easy access.
However, one of my few gripes with Bridge is that if you click a folder in your favorites and that folder can't be found, the folder is removed from your favorites.
That was a problem for me because I keep folders in my favorites that are on external drives, which I sometimes accidentally click when that drive is unplugged.
I found a workaround that lets me keep folders on external volumes in my favorites that aren't removed like that. Just find the folder you want to use on the external drive, right-click it in the Finder, and choose 'Make Alias.' Move the alias to an out-of-the-way place on an internal hard drive and give it a nice name. Navigate to that alias in Bridge, and drag it to your favorites bar.
When you click it, it takes you straight to the folder you want (just like adding the actual folder to your favorites). And if you click it while the external drive isn't available, no problem. Bridge just stays wherever you were already navigated to.
[crarko adds: I haven't tested this one, but it seems quite logical.]
Acrobat 10 doesn't accept serial numbers for international versions of Acrobat (or the CS suite) if the operating system is running in a different language than the purchased one. This hint discusses a few workarounds.
Acrobat comes with several language packages and runs by default with the language of the operating system. In this case however it doesn't accept serial numbers which are bound to a specific language. As it seems there are three work arounds (the first two are also mentioned by the Adobe support team):
The obvious one: Run OSX in the same language as Acrobat was purchased in. At least in my case not an option.
Use a program such as Language Switcher. I have not tried that but it probably does the same as option 3 below, only temporarily.
Remove the English language package (of course at your own risk): Open the Acrobat package, navigate to Contents/Resources and remove the folder 'en.lproj.'
[crarko adds: I haven't tested this one. I'd vote for option 2, I think. If you try option 3 be prepared to restore form backup/reinstall if you want to use English again.]
Sometimes you need to have two views of the same PDF document (e.g. to have a quick access to the list of references in a thesis without the need to scroll to it and then back to the text). However, Preview does not allow a file to be opened twice.
The quickest solution would be to hit Cmd-P and select 'Open PDF in Preview.' You'll have a temporary copy of your PDF where you can select the second view and have both views handy for easy switching.
When you're done, just hit Cancel in the temporary document.
[crarko adds: I tested this, and it works as described. A nice workaround; I looked and didn't find any duplicates of the hint.]
My company changed its name recently. This meant I was left with hundreds of firstname.lastname@example.org entries in Mail.app's Previous Recipients list that I wanted to delete, and a GUI that didn't want to help me do that.
Mail.app does provide a window for viewing and editing the list (Window » Previous Recipients), but its search function only matches against the beginning of names and email addresses. You can't search for substrings, which is what I needed to do in this case.
It turns out, though, that the previous recipients list is just an SQLite v3 database that's stored here:
After inspecting the database using the sqlite3 command in Terminal, it transpired that the table you need to modify is called ZABCDMAILRECENT, and the field containing the email addresses is called ZEMAIL. So to delete all the entries whose email address ended with @oldname.com, I simply typed these commands (bold parts are what I typed, non-bold is terminal prompt/output):
[bash-3.2$] sqlite3 ~/Library/Application Support/AddressBook/MailRecents-v4.abcdmr
SQLite version 3.6.12
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> select ZFIRSTNAME,ZLASTNAME,ZEMAIL from ZABCDMAILRECENT where ZEMAIL like '%@oldname.com';
This will show a list of records that will be deleted, for visual confirmation. If it looks right, continue with the next SQLite command:
sqlite> delete from ZABCDMAILRECENT where ZEMAIL like '%@oldname.com';
And boom... they're gone. Obviously with some knowledge of SQLite commands you can delete other combinations of entries, or even add new ones (although that would be a bit odd). There is of course potential to delete things you didn't mean to, so make sure you have a backup of the MailRecents-v4.abcdmr file before you start.
When syncing photos to my iPhone using iTunes, I've long been frustrated by the order in which the list of photo Events was sorted.
Quite by accident, I discovered that the sort order is set from within iPhoto, with a twist.
If you open iPhoto and select Events, then change the sort order using the View menu, the order will also change in iTunes, but - and this is the actual hint I guess - you have to quit and restart iTunes to see the differently-ordered list. (Not really up to Apple's usual standards of transparent useability!)
[crarko adds: I tested this, and it works as described.]