« AppleScript+Twitter
» WSUS Hardware Identification

Geek

Automagic iSync Script

03.28.07 | Comment?

After playing with Proximity a bit, I added some code from Jesse Hollington and changed how often I sync. I’m not anal enough to justify syncing every 15 minutes. (My iCal doesn’t even update that often.)


tell application “iSync”
activate
tell application “System Events” to set visible of process “iSync” to false
if last sync is less than ((current date) - 3600) then
synchronize
delay 60
(*You may have to adjust the length of the delay based the time it takes to sync on your device(s)*)
end if
end tell
tell application “iSync”
quit
end tell

Now if someone could please tell me how to auto-accept a sync connection on my Cingular Nokia E62, I would be forever grateful.

Tags: , ,

have your say

Add your comment below, or trackback from your own site. Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

:

:


« AppleScript+Twitter
» WSUS Hardware Identification