Quote:
Originally Posted by amelchi
would it be possible to use your applescript for Ical?
|
No - that kind of script is application-specific.
Not quite sure what you are trying to do. Dumping lines from the clipboard into the to do list of the first iCal calendar might look something like the following, but iCal is not really my thing, I'm afraid.
Code:
try
set lstLines to paragraphs of (Unicode text of (the clipboard as record))
on error
tell application id "sevs" to display alert "No text lines in clipboard"
return
end try
set lngLines to length of lstLines
if lngLines < 1 then return
tell application id "com.apple.iCal"
activate
tell first calendar
repeat with oLine in lstLines
make new todo with properties {summary:oLine}
end repeat
set strCal to name
end tell
display alert (lngLines as string) & " To Do item(s) added to calendar: " & strCal
end tell