python fix for things3
This commit is contained in:
parent
b4c294ecba
commit
87069126bd
@ -46,13 +46,13 @@ class thingspy:
|
|||||||
|
|
||||||
def addToThings(self):
|
def addToThings(self):
|
||||||
for project in self.projects:
|
for project in self.projects:
|
||||||
applescript = "tell application \"Things\"\n"
|
applescript = "tell application \"Things3\"\n"
|
||||||
applescript += project.makeAppleScript()
|
applescript += project.makeAppleScript()
|
||||||
applescript += "\nend tell \n"
|
applescript += "\nend tell \n"
|
||||||
self.doAppleScript(applescript)
|
self.doAppleScript(applescript)
|
||||||
|
|
||||||
for todo in self.todos:
|
for todo in self.todos:
|
||||||
applescript = "tell application \"Things\"\n"
|
applescript = "tell application \"Things3\"\n"
|
||||||
applescript += todo.makeAppleScript()
|
applescript += todo.makeAppleScript()
|
||||||
applescript += "\nend tell \n"
|
applescript += "\nend tell \n"
|
||||||
self.doAppleScript(applescript)
|
self.doAppleScript(applescript)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user