Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tell application "Reminders" to activate
- tell application "System Events" to keystroke "c" using {command down}
- set theNotesChecklist to ""
- set theReminders to get the clipboard as string
- repeat with thisParagraph in paragraphs of text of theReminders
- try
- set theNotesChecklist to theNotesChecklist & text 5 thru -1 of thisParagraph & return
- delay 0.1
- end try
- end repeat
- set the clipboard to theNotesChecklist
- tell application "Notes" to activate
- tell application "System Events"
- keystroke "n" using {command down}
- keystroke "l" using {shift down, command down}
- delay 0.5
- keystroke theNotesChecklist
- delay 0.1
- key code 51 -- # Delete - Deleats the last 'return' typed.
- end tell
Add Comment
Please, Sign In to add comment