|
|
auto isync
|
|
|
|
Fresh-Faced Recruit
Join Date: Oct 2003
Location: CA Central Coast
Status:
Offline
|
|
anybody know a good way to automatically run isync?
just got a bluetooth phone and id like it to sync without my intervention. ive seen places that list there is an option for it to run hourly, but i can't find it in the preferences (v1.3), has that been removed?
or, anyone know a way to have it sync when you log out? log in?
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Apr 2001
Location: Asheville, NC
Status:
Offline
|
|
The hourly setting is in the .Mac settings. I don't know whether or not this would also work with phones, etc...
|
ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Sep 2000
Location: Cupertino, CA USA
Status:
Offline
|
|
If you want to automatically sync when you log in, save this script as an application and add it to your login items:
Code:
tell application "iSync"
if syncing is false then synchronize
end tell
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Oct 2003
Location: CA Central Coast
Status:
Offline
|
|
Originally posted by Sal:
If you want to automatically sync when you log in, save this script as an application and add it to your login items:
Code:
tell application "iSync"
if syncing is false then synchronize
end tell
awesome . that simple script is all i needed.
note to self: learn applescript. if Sal can do it, so can you
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Nov 2003
Status:
Offline
|
|
Great tip.
Is there away to automatically quit isync after syncing?
TIA
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Apr 2001
Location: In my tree making cookies
Status:
Offline
|
|
Originally posted by built2crawl:
Great tip.
Is there away to automatically quit isync after syncing?
TIA
Enable the menu icon? All I see is a little animated sync icon up there in my menu when it auto syncs, no isync app.
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Mar 2001
Location: Sitting in front of computer
Status:
Offline
|
|
I set up a crontab for mine.
here is what it looks like
0 4 * * * osascript -e 'tell application "isync" to synchronize'
0 5 * * * osascript -e 'tell application "isync" to quit'
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Jan 2001
Location: brooklyn ny
Status:
Offline
|
|
Originally posted by Terri:
I set up a crontab for mine.
here is what it looks like
0 4 * * * osascript -e 'tell application "isync" to synchronize'
0 5 * * * osascript -e 'tell application "isync" to quit'
uh, could u translate that? what exactly do u do to make such an action take place??
(ie where do i place this script, etc..)
|
"At first, there was Nothing. Then Nothing inverted itself and became Something.
And that is what you all are: inverted Nothings...with potential" (Sun Ra)
|
|
|
|
|
|
|
|
Senior User
Join Date: Mar 2001
Location: Sitting in front of computer
Status:
Offline
|
|
Originally posted by fisherKing:
uh, could u translate that? what exactly do u do to make such an action take place??
(ie where do i place this script, etc..)
"0 4 * * * osascript -e 'tell application "isync" to synchronize'"
The numbers at the beginning tell cron what time to do its thing.
osascript allows us to the application's AppleScript libray.
The rest just tells it what I want the application to do.
Open up your terminal and type "crontab -e" without the quotes. This will get you into your user's crontab using Vi as the editor.
Using Vi
http://staff.washington.edu/rells/R110/
Crontab how to
http://www.php-scripts.com/php_diary/123002.php3
For more help in terminal type "man vi" and "man crontab" without the quotes.
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Feb 2001
Location: macsterdam
Status:
Offline
|
|
just get Salling Clicker and Proximity Sync!! It's all you want and it'll impress your Windows friends too
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Sep 2000
Location: Cupertino, CA USA
Status:
Offline
|
|
If you want a script that syncs and then waits for the sync to be done and quit iSync, add an Idle Handler to the script and save it as an application with the Stay Open option checked, as in this example that checks every minute to see if the sync has completed.
Code:
tell application "iSync"
if syncing is false then synchronize
end tell
on idle
tell application "iSync"
set sync_status to syncing
end tell
if sync_status is false then
ignoring application responses
tell application "iSync"
quit
end tell
end ignoring
quit
end if
return 60
end idle
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|