[LIST]
[*]set theStartDate to (current date) + (1 * days)
[*]set hours of theStartDate to 15
[*]set minutes of theStartDate to 0
[*]set seconds of theStartDate to 0
[*]set theEndDate to theStartDate + (1 * hours)
[*]
[*]tell application "Calendar"
[*] tell calendar "Project Calendar"
[*] make new event with properties {summary:"Important Meeting!", start date:theStartDate, end date:theEndDate}
[*] end tell
[*]end tell
[/LIST]
set srcFile to ((path to desktop) as text) & "myFile.txt"
# Read lines from file.
set lns to paragraphs of (read file srcFile as «class utf8»)
# Loop over lines read and copy each to the clipboard.
repeat with ln in lns
set the clipboard to ln
display alert (the clipboard)
end repeat
You can use AppleScript to do this with something like this
Whoa! That's way above my understanding and capability. Is there no other way?
Highlight the date and right click gives the option of opening Calendar.
I couldn't replicate your action, but even so it seems like that will only open the Calendar, not fill in the Event, Start Time, Notes, etc. Also, I would have to do it manually, one Calendar entry at a time, which I'm trying to avoid. Thanks anyway, badshoehabit.