|
|
#1 |
|
Major Leaguer
Join Date: Jan 2002
Location: Edinburgh, Scotland
Posts: 437
|
Picture the scene:
* I'm at work * I have my work machine set to sync on the hour * my home machine (with a bunch of "to review" URLs in my Safari bookmarks) is on manual sync * I forgot to sync it with .Mac this morning * I'm now logged into my home machine via SSH Does *anyone* know how to trigger the .Mac sync process remotely (note, this is _not_ the same as triggering iSync in these post-Panther days) so that I can get at my bookmarks? Cheers in advance! -J |
|
|
|
|
|
#2 |
|
Prospect
Join Date: Jan 2003
Posts: 4
|
I know this is an ancient query, but I just needed to do this and the following applescript works. I wrapped it in a shell script to make it easier to run remotely:
Code:
#!/bin/sh
cat <<EOF | osascript
tell application "System Preferences"
activate
set current pane to pane "MobileMe"
tell application "System Events"
tell process "System Preferences"
click radio button "Sync" of tab group 1 of window "MobileMe"
click button "Sync Now" of tab group 1 of window "MobileMe"
end tell
end tell
quit
end tell
EOF
|
|
|
|
|
|
#3 |
|
MVP
Join Date: Apr 2004
Location: Hello London Calling
Posts: 1,787
|
I've posted a Hint on the macosXhints main site for a way to do this via the CLI.
__________________
MH. |
|
|
|
![]() |
|
|