This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am ehickox on github. | |
* I am ehickox (https://keybase.io/ehickox) on keybase. | |
* I have a public key whose fingerprint is 774A 2D25 7EAE 1D8E 3510 480B AB21 DF12 82C4 E675 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on run {input, parameters} | |
-- get the date from the end of the input list, concatenate the due | |
-- time to the end, and typecast string object to date object | |
set myDueDate to date (last item of input & " 2:00:00 PM" as string) | |
-- Loop through the list, creating Reminders for each section of homework | |
set i to 1 | |
repeat while i is less than length of input | |
tell application "Reminders" |