Re: .mac sync now
Re: .mac sync now
- Subject: Re: .mac sync now
- From: Jay Louvion <email@hidden>
- Date: Fri, 17 Oct 2008 18:54:57 +0200
- Thread-topic: .mac sync now
Title: Re: .mac sync now
On 17.10.2008 18:17, "Ronald Hofmann" <email@hidden> spake thus:
Unfortunately I´v never done that before, so I don´t know how this is
done. If you find out how to do it, please drop me a line. I´m also
interested ;-)
Ok, I got it ! This is cross-plateform. I noticed one Leopard client here has two clients; Thus the parsing of the SyncClients using the TextToList subroutine.
set SyncClients to item 1 of (my textToList(do shell script "locate dotmacsyncclient", return))
set DotMacSync to SyncClients & " --sync" as string
set SyncNow to do shell script DotMacSync
on textToList(thisText, delim)
set resultList to {}
set {tid, my text item delimiters} to {my text item delimiters, delim}
try
set resultList to every text item of thisText
set my text item delimiters to tid
on error
set my text item delimiters to tid
end try
return resultList
end textToList
Have a great week-end!
j.
Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva
T+4122 840 3272
F+4122 840 3271
www.studiocasagrande.com
P Please consider the environment before printing this email.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden