You should follow me on Twitter.


App: Sync now! — Automatic synchronisation revisited

The day before yesterday I fixed my script that opens up iSync, starts a synchronisation and afterwards terminates iSync again.

You can use the AppleScript as a standalone as well and define a keystroke with Quicksilver to execute it — that’s way faster than to open up iSync and to start a synchronisation by hand.

And because I’m such a fine guy, I put together a little application called Sync now! and give it to you free of charge.

Download Sync Now!

DOWNLOAD Sync now! v1.0

It’s a really tiny application: All I did was putting these few lines of AppleScript into an Automator workflow and saving this as an application:

tell application "iSync"
activate
synchronize
repeat until syncing is false
delay 1
end repeat
quit
end tell

Enjoy!


Trackbacks & Pingbacks

  1. k-märkt trackbacked Posted September 6, 2007, 2:19 am
  2. Scheduling iSync « Andy’s blog pingbacked Posted February 14, 2008, 3:01 pm

Comments

  1. Quote

    MAN! THIS ROCKS
    Thanks you

  2. Quote

    Thank you for your comment I’m glad that this is of use for someone else but me!

  3. Quote
    Chuck Henebry said January 8, 2007, 7:40 pm:

    This is great! But, as someone who ordinarily leaves Bluetooth off, I found a more elaborate script over on macosxhints that turns bluetooth on (if currently off), synchs, then turns bluetooth back off (if it was off at the start).

  4. Quote

    Thank you for pointing this out, Chuck, that really does sound interesting I think I’ll integrate this into the next version.

    Stay tuned!

  5. Quote

    Thank you so much! I’ve really been searching all over for this. You just made my life easier :)

    Regards,

    Jacob Packert (DK)

  6. Quote

    I’m just about to improve it a little bit stay tuned!

  7. Quote
    switcher said March 12, 2007, 4:37 am:

    i just installed it. great, and thanks a lot . Agreed that bluetooth switching will make it even better.

    Now, as a PC switcher, one thing i liked on PC is that the PC automatically detected when your phone enter in BT range, and initiate the sync. Essentially, once everything was setup, i never have had to touch anything for more than 1 year, and my phone was always sync’d..

    this was cool.

  8. Quote

    I use “BluePhone Elite” to start SyncNow! as soon as my mobile enters my laptops BT range.

    Try HomeZone: Configure a new zone that is triggered by your mobile and set it to “open file” (SyncNow!) when entering that zone.

    Should do the trick.

  9. Quote
    mic_lund said May 6, 2007, 1:43 pm:

    Hi Julian

    I can get it working with my BluePhone Elite, in my version it only rounds script but not programs like SyncNow. What to do?

  10. Quote

    Hi,

    build yourself a script with the following code:

    tell application "iSync"
    activate
    synchronize
    repeat until syncing is false
    delay 1
    end repeat
    quit
    end tell

    I call it “iSyncTrigger” ;-)

  11. Quote
    mic_lund said May 6, 2007, 3:41 pm:

    Thank you, now it’s working properly!

  12. Quote

    it wold be great if you app have the capacity to turn on the bluethoot to sync an then turn off

  13. Quote

    This is interesting.

    What I am looking for is an application that will automatically sync every 20 minutes or so. Will Sync Now do this or would I have to open it everytime I want to sync?

  14. Quote

    Hi Jens,

    you may want to take a look at the “Automation” part of this post: http://julianschrader.de/20070512-get-your-itunes-songs-rated-automagically/

    You could setup a cron job with CronniX that runs a script with the following code every 20 minutes:

    tell application "iSync"
    activate
    synchronize
    repeat until syncing is false
    delay 1
    end repeat
    quit
    end tell

    Hope that helps!

  15. Quote

    It is amazing how hard it was to find something that was so obvious and simple a thing to do. Then again I needed a hack to get dual monitors that aren’t mirrored. So this syncs automatically daily?

  16. Quote

    Sync Now! on its own doesn’t do more than what the name says — it just syncs everything you’re using with iSync everytime you execute Sync Now!

    But you can turn this in an automated process that syncs weekly, daily, hourly or whatever period of time you need — take a look at my last comment up there and the linked post, where I described how to set this up to sync automatically every 20 minutes.

    If you have any questions, just ask. ;-)

  17. Quote

    Julian,

    Thanx for this program! This really helps me out.

    Henri

  18. Quote
    Leeor said May 13, 2008, 1:00 pm:

    Thanks!

    Simple and useful.

    -L

  19. Quote

    Hi, I used your script together with Proximity to sync my phone daily whenever I come within reach of my Mac (or activate Bluetooth on my phone). Here’s the script I use as the “In Range” script for Proximity:


    tell application "iSync"
    set visible of window 1 to false
    if ((current date) - last sync) is less than days then
    quit
    else
    synchronize
    repeat until syncing is false
    delay 1
    end repeat
    if sync status is greater than 2 then
    display alert "Synchronization failed."
    activate
    else
    quit
    end if
    end if
    end tell

  20. Quote

    @Robert Wünsch: This is great — I originally set up “Sync Now!” with BluePhone Elite to automatically sync every time my phone was in range, which resulted in a lot of syncs. Your solution solves this problem :-)

  21. Quote

    Thank you very much! This was really helpfull!!!

  22. Quote
    Henri again said November 25, 2008, 10:27 am:

    Hi Julian,

    After my Mac was reinstalled, I lost your fantastic program. Now after a few days of surfing the internet I found your solution again. And also made a bookmark for the next time. Thanx again!

    Henri

  23. Quote

    @Henri You’re welcome! :-)

Leave a Comment

(required)

(required)

Formatting Your Comment

The following XHTML tags are available for use:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

URLs are automatically converted to hyperlinks.

Additional comments powered by BackType