Hello,
I'm new to Python so apologies in advance for a newbie question. I would like to create a pythonista program that can copy a list of tasks from my clipboard and pass them to either Appigo ToDo or Reminders.
The clipboard data may contain:
Buy lettuce
Buy laundry detergent
Buy tomatoes
The code below appears to function for only the first task in the list stored in the clipboard.
Does anyone know how I can modify this to work with Appigo Todo? Alternatively, does anyone know if there is a URL scheme to access Reminders?
Thanks in advance!
-jtg
---code below---
<pre>import clipboard
import urllib
import webbrowser
todo = 'appigotodo://x-callback-url/import?name='
text = clipboard.get()
tasks = text.split('\n')
for index in range(len(tasks)):
task = urllib.quote(tasks[index])
webbrowser.open(todo + task)</pre>