Isync automatisieren?

Q

querfeldein

Mitglied
Thread Starter
Dabei seit
25.07.2005
Beiträge
62
Reaktionspunkte
0
Hallo,

Ich habe nun erstmals mein Handy mit Isync synchronisiert, daher, lasse den Kalender imm anpassen. Was mich dabei stört ist aber, dass ich das Programm Isync immer starten muss und das Synchronisieren per Knopfdruck aktivieren muss. Gibt es eine möglichkeit das zu automatisieren? Im Automator hab ich keinen entsprechenden Befehl gefunden?!

Und noch eine weitere Frage, kann ich mit Automator meine ungelesenen Mails per Bluetooth an mein Handy schicken lassen? Auf den Ipod bekomm ich es ja hin, aber nicht per Bluetoothverbindung.

Merci und Gruß

Cornelius
 
ich würde mich gerne an die frage dranhängen, denn ich war gerade eh schon drauf und dran einen eigenen thread dazu aufzumachen.

mir gehts da genauso. auch mich nervt es, dass ich zum synchronisieren erst isync per hand starten muss.

ich hätte es gerne so, dass automatisch synchronisiert wird, wenn
- ich mein handy in die tischladestation stecke, die per usb auch am mac hängt
oder
- das handy in die bluetooth-reichweite kommt

das erstere würde mir besser gefallen

bei meinem handy handelt es sich übrigens um ein SE K750i
 
Also wenn man den iSync-Status in die Menüleiste legt braucht man genau zwei Klicks für die Synchronisation. Die Autmatisierung ist das nicht wirklich weniger arbeitsintensiv, oder?
 
Mick Dundee schrieb:
Also wenn man den iSync-Status in die Menüleiste legt braucht man genau zwei Klicks für die Synchronisation. Die Autmatisierung ist das nicht wirklich weniger arbeitsintensiv, oder?
aber cooler ;)

pass auf, ich bin den tag über unterwegs, hab ne neue telefonnummer gekriegt und 2-4 termine in mein handy getippt.
abends komm ich dann nach hause und hau im vorbeigehen mein handy in meine tischstation. dann soll automatisch adressbuch und terminkalender gesynct werden, ohne dass ich mich noch hinsetzen und rumklicken muss (auch wenns nur wenige klicks sind)
 
ähm der button in der menuleiste synct nur .Mac, nicht externe Geräte, würd das funzen, wäre ich ja scon zufrieden...
 
Habe bei Google ein Script hierzu gefunden. Funktioniert bei mir gut, kann allerdings mangels Ahnung von AppleScript keine Garantie übernehmen (und empfehle deshalb vorherige Datensicherung):


-- Before you use this script, launch /Applications/AppleScript/AppleScript Utility.app and check "Enable GUI Scripting."
-- The Bluetooth menu item must be turned on in the Bluetooth system preferences pane.

-- Check the current bluetooth status and turn it on if necessary.
tell application "System Events" to tell the front menu bar of process "SystemUIServer"
set menu_extras to value of attribute "AXDescription" of menu bar items
repeat with x from 1 to the length of menu_extras
if item x of menu_extras is "bluetooth menu extra" then exit repeat
end repeat
tell menu bar item x
click
tell 2nd menu item of front menu
if name ends with "deaktivieren" then
-- Current status is on; it says "turn bluetooth off"
set last_bluetooth_setting to "aktivieren"
else if name ends with "aktivieren" then
-- Current status is off; it says "turn bluetooth on"
set last_bluetooth_setting to "deaktivieren"
click
end if
end tell
-- Unclick if it was on (do nothing but make the menu disappear)
if last_bluetooth_setting is "aktivieren" then
click
end if
end tell
end tell

-- Do the sync and wait for it to finish
tell application "iSync"
synchronize
repeat while (syncing is true)
delay 5
end repeat
set syncStatus to sync status

if syncStatus = 2 then
-- Success
quit
else
if syncStatus = 3 then
set syncStatus to "completed with warnings"
else if syncStatus = 4 then
set syncStatus to "completed with errors"
else if syncStatus = 5 then
set syncStatus to "last sync cancelled"
else if syncStatus = 6 then
set syncStatus to "last sync failed to complete"
else if syncStatus = 7 then
set syncStatus to "never synced"
end if
display dialog "syncStatus: " & syncStatus
syncStatus
end if
end tell


-- Set the bluetooth status to what it was before.
tell application "System Events" to tell the front menu bar of process "SystemUIServer"
set menu_extras to value of attribute "AXDescription" of menu bar items
repeat with x from 1 to the length of menu_extras
if item x of menu_extras is "bluetooth menu extra" then exit repeat
end repeat
tell menu bar item x
click
if last_bluetooth_setting is "deaktivieren" then
-- Turn it off again
click 2nd menu item of front menu
else
-- Just close the menu
click
end if
end tell
end tell


Dieses habe ich mit Automator als Programm abgespeichert. Dazu noch zwei Arbeitsschritte, die jeweils eine Sicherheitskopie von iCal und dem Adressbuch machen. Wen es interessiert:

tell application "Address Book" to activate
tell application "System Events"
tell process "Address Book"
click menu item 12 of menu 3 of menu bar 1
delay 1
tell sheet 1 of window 1 to click button 1
tell application "Address Book" to quit
end tell
end tell


tell application "iCal" to activate
tell application "System Events"
tell process "iCal"
click menu item 10 of menu 3 of menu bar 1
delay 1
tell sheet 1 of window 1 to click button 1
tell application "iCal" to quit
end tell
end tell
 
...handy in die tischladestation stecke, die per usb auch am mac hängt...

Wenn es dann als externes Volume gemountet wird, böte sich z.B. DSW zum Triggern von Aktionen (Applescript, Automator, je nach Präferenz) an.
Für Bluetooth gibt es einige Lösungen (z.B. Proximity) Aktionen zu triggern wenn bestimmte Geräte in Reichweite kommen.

Grüße,
Flo
 
besser: iSyncIt
gefunden bei macoshints.com
 
  • Gefällt mir
Reaktionen: kabellos
cooles ding. dadurch dass das iSyncit in lion nicht mehr funktioniert, musste ich mich wieder nach alternativen umsehen. und das skript hier als ical-erinnerung in automator gespeichert, funktioniert spitze. vielen dank und grüße aus dem jahr 2012
 
Zurück
Oben Unten