I copied an applescript from the internet to make one for backing up ical and address book.
Here it is
tell application "iCal" to activate
tell application "System Events"
tell menu item "Back up Database..." of menu "File" of menu bar 1 of application process "iCal" to click
delay 3
keystroke "iCal" & todaysDate
keystroke "d" using command down
delay 3
keystroke tab
keystroke return
delay 5
end tell
I added it to an automator workflow for the complete backup process, It works fine on my intel imac but when tried on the ibook its supposed to run on i always get this error
system events got an error "nsreceiverevaluationscripterror:4"
can anyone tell me why this only pops up on the ibook and how i can fix it?
regards
Here it is
tell application "iCal" to activate
tell application "System Events"
tell menu item "Back up Database..." of menu "File" of menu bar 1 of application process "iCal" to click
delay 3
keystroke "iCal" & todaysDate
keystroke "d" using command down
delay 3
keystroke tab
keystroke return
delay 5
end tell
I added it to an automator workflow for the complete backup process, It works fine on my intel imac but when tried on the ibook its supposed to run on i always get this error
system events got an error "nsreceiverevaluationscripterror:4"
can anyone tell me why this only pops up on the ibook and how i can fix it?
regards