Last active
May 21, 2017 18:23
-
-
Save yeled/5411d699ac7f9ea5611017544a58b4d2 to your computer and use it in GitHub Desktop.
shouldn't this be in Logbook / aka completed?
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
tell application "OmniFocus" | |
get class of item 3 of every flattened task of default document whose in inbox = true | |
--> inbox task | |
get number of tasks of item 3 of every flattened task of default document whose in inbox = true | |
--> 0 | |
(*Migrating an inbox task*) | |
get name of item 3 of every flattened task of default document whose in inbox = true | |
--> "Please Confirm Your Email Address" | |
get note of item 3 of every flattened task of default document whose in inbox = true | |
--> "[Sent to Mail Drop address yeled.rk8bv] | |
Please Confirm Your Email Address" | |
get due date of item 3 of every flattened task of default document whose in inbox = true | |
--> missing value | |
get creation date of item 3 of every flattened task of default document whose in inbox = true | |
--> date "Thursday, 6 October 2016 at 17:22:51" | |
get modification date of item 3 of every flattened task of default document whose in inbox = true | |
--> date "Thursday, 6 October 2016 at 19:16:59" | |
get completion date of item 3 of every flattened task of default document whose in inbox = true | |
--> date "Thursday, 6 October 2016 at 19:16:59" | |
get defer date of item 3 of every flattened task of default document whose in inbox = true | |
--> missing value | |
get completed of item 3 of every flattened task of default document whose in inbox = true | |
--> true | |
get context of item 3 of every flattened task of default document whose in inbox = true | |
--> missing value | |
get flagged of item 3 of every flattened task of default document whose in inbox = true | |
--> false | |
end tell | |
tell application "Things3" | |
make new to do with properties {name:"Please Confirm Your Email Address", tag names:"", notes:"[Sent to Mail Drop address yeled.rk8bv] | |
Please Confirm Your Email Address", creation date:date "Thursday, 6 October 2016 at 17:22:51", modification date:date "Thursday, 6 October 2016 at 19:16:59", status:completed, completion date:date "Thursday, 6 October 2016 at 19:16:59"} at beginning of list id "TMInboxListSource" | |
--> to do id "41A64783-23B6-4C56-BB6D-E132B3579164" | |
end tell |
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
tell application "OmniFocus" | |
get class of item 9 of every flattened task of default document whose in inbox = true | |
--> inbox task | |
get number of tasks of item 9 of every flattened task of default document whose in inbox = true | |
--> 0 | |
(*Migrating an inbox task*) | |
get name of item 9 of every flattened task of default document whose in inbox = true | |
--> "on point dealing with BAM-6133" | |
get note of item 9 of every flattened task of default document whose in inbox = true | |
--> "on point dealing with BAM-6133" | |
get due date of item 9 of every flattened task of default document whose in inbox = true | |
--> missing value | |
get creation date of item 9 of every flattened task of default document whose in inbox = true | |
--> date "Friday, 27 May 2016 at 15:08:44" | |
get modification date of item 9 of every flattened task of default document whose in inbox = true | |
--> date "Tuesday, 31 May 2016 at 10:38:07" | |
get completion date of item 9 of every flattened task of default document whose in inbox = true | |
--> date "Tuesday, 31 May 2016 at 10:38:07" | |
get defer date of item 9 of every flattened task of default document whose in inbox = true | |
--> missing value | |
get completed of item 9 of every flattened task of default document whose in inbox = true | |
--> true | |
get context of item 9 of every flattened task of default document whose in inbox = true | |
--> missing value | |
get flagged of item 9 of every flattened task of default document whose in inbox = true | |
--> false | |
end tell | |
tell application "Things3" | |
make new to do with properties {name:"on point dealing with BAM-6133", tag names:"", notes:"on point dealing with BAM-6133", creation date:date "Friday, 27 May 2016 at 15:08:44", modification date:date "Tuesday, 31 May 2016 at 10:38:07", status:completed} at beginning of list id "TMInboxListSource" | |
--> to do id "A8C28CBB-26F9-424C-B4E9-A92993EF0700" | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This works in Things2. Boo