Then select all, either from "Edit -> Select -> All" or by pressing "Ctrl+A". If the duplicate messages appear as unread and are not mixed among unread messages you want to keep, use the "View" pulldown menu and select "Unread." This will give you only unread messages in the main listings window.You can then select all of them together and send them to the Trash folder. Since the duplicate messages were all received at once, this should group them together in the message list. If you have received a huge amount of duplicates all at once, one way to remove them from your Inbox is to sort messages by the order they were received ("View -> Sort by -> Order Received").Perhaps a brute force *detect time-out* + *cancel and restart script* is possible if the root cause can't be found. I suspect the disabling of "include when getting new mail" property is not working as it should, but I checked the AppleScript library and the statement looks fine so I'm not sure. I'll leave it for a day and see that no progress has been made, but if I cancel and restart the script, it'll advance by 500 messages (i.e. Very subtle differenceĢ) The script times out after about 8,000 messages in my case. Duplicate emails can accumulate from time to time, whether through faulty software (MailHub for instance) or numerous migrations over the years.Ī couple of issues about the current version:ġ) For Yosemite, the "show duplicates" property has changed from "defaults write AlwaysShowDuplicates -bool true" to "defaults write _AlwaysShowDuplicates -bool true". I'm grateful that someone took the time to create such a useful script. While Jolly Roger's script can get started and it can apparently find duplicate messages, my tests inform me that it can not successfully finish the job of removing those messages, which renders it ineffective. If you try to run his script on Mavericks, for instance, you will encounter an error that prevents it from getting started. Accordingly, he had to abandon further development of his very useful scripts. He filed bug reports with Apple, but those bugs have not been fixed. But, on his website and through correspondence with him, he points out that Apple introduced a bug in Apple Mail which prevents an Apple Script from running correctly in Apple Mail. A previous Apple Script, developed by Andreas Amann, worked brilliantly before Mac OS X 10.7 (Lion) was developed. Whether this is a failure of the script or a bug in Apple Mail is a moot issue. It finds duplicates, but it does not remove them. My low rating is based on the fact that the script does not perform as intended. I reported this to the developer, but he did not reply. It again found those same 201 duplicate messages I again sent all of the duplicate messages to the archive folder the script again failed to remove those duplicate messages from the source folder in Apple Mail. This time, I selected the option to review each duplicated message before choosing to leave it in the source folder or send it to the archive folder. I still have the same number of messages in the source folder as when I started. The number of messages did not decrement, as I would have expected it to do. It again found 201 duplicates, and it removed them. So, I ran the script again on the same source folder. The source mailbox again had 3,301 messages. The script found 201 duplicates, and it removed them to the archive folder. It finds duplicate messages OK, but it does not also remove those duplicate messages from the selected Apple Mail folder, which makes the script useless.Ĭase in point: I ran the Remove Duplicates script on a folder which contains 3,301 messages. Unfortunately, this script does not work properly for me.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |