|
|
An AppleScript to periodically check all IMAP folders
I've improved the script, made it hidden (so I don't have to see it), and it now starts as a login item. First, here's the new script:
Cut and paste into Script Editor. Then save it as an Application Bundle.
Open up the terminal and navigate to whever you saved the application bundle. Inside the bundle, edit Contents/Info.plist. Add to the top of the plist:
So the top of your Info.plist now looks like this:
Now edit your login items and add the script (application bundle) as a login item. Logout and log back in.
The script should now start on login, it will kill itself automatically on logout. You won't see it running unless you look for it from the terminal using the "ps" command or via the Process Viewer. And whenever Mail.app is running, any online IMAP accounts will now have all their folders updated when new messages are received to those folders.
An AppleScript to periodically check all IMAP folders
Is there any way with the lastest script to have Mail.app actually display which folders have new messages without having to select the folder?
An AppleScript to periodically check all IMAP folders
jaysoffian's script didn't seem to work for me (haven't tried it till I upgraded to tiger). So I just took his idea with the original code that works and just added a check to see if mail is running. here's the code:
Save it as an application bundle and do the same thing as above. cd into the check_all_imap.app/Contents/Info.plist and add the following two lines:
I've also noticed that if you modify the script and resave it, it moves that key further down, but it does still have it. Then just set it to start at login and it will do it's magic whenever mail is running, but only when mail is running. I've only tested this in 10.4 but don't see why it wouldn't work in 10.3
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.06 seconds |
|