-- script to backup 5 crucial apps to default locations (should be set in each app before running script) -- backup del.icio.us bookmarks via the export page: set ExportPage to "https://secure.del.icio.us/settings/XYZ/bookmarks/export" tell application "Camino" to activate tell application "System Events" tell application "Camino" to open url ExportPage delay 4 keystroke "notes" keystroke tab keystroke return delay 4 keystroke "s" using command down delay 1 keystroke return delay 1 keystroke tab keystroke tab keystroke tab keystroke tab keystroke tab keystroke tab keystroke tab keystroke tab keystroke tab keystroke tab keystroke tab keystroke return delay 1 keystroke return end tell delay 8 -- backup address book: 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 end tell end tell delay 8 -- backup (export) camnio bookmarks: tell application "Camino" to activate tell application "System Events" tell process "Camino" keystroke "u" using command down delay 1 click button "Export" of window "Save" delay 1 keystroke return end tell end tell delay 8 -- backup delicious library to .txt file: tell application "Delicious Library" to activate tell application "System Events" tell process "Delicious Library" keystroke "e" using command down delay 1 tell sheet 1 of window 1 to click button 1 delay 1 keystroke return end tell end tell delay 8 -- backup ical database tell application "iCal" to activate tell application "System Events" tell process "iCal" keystroke "b" using command down delay 1 tell sheet 1 of window 1 to click button 1 end tell end tell