|
|
An alternative method
This hint is great, but the following script has the added benefit of exiting iSync if it synchronizes successfully or displaying a dialog that describes the warning or error:
I saved the script to my Scripts directory as iSync.scpt, and run it twice daily at noon and 8 pm using cron:
Slight improvement
Thanks for the tip. I'm installing that as a cron job.
I did make two changes. First, I removed the activate call so that iSync can run in the background. Then, I noticed that the loop waiting for sync to finish is bound to burn a lot of CPU cycles. Here is a slight tweak that is a tad more efficient:
To get this to work, you'll need to save as Application and check the "Stay Open" box. After the initial tell block, the idle block is called every few seconds. Once sync is done, the script tells iSync to quit and then quits itself.
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks 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.09 seconds |
|