diff --git a/Append Note to Selected Task.applescript b/Append Note to Selected Task.applescript index efa7be6..1f13353 100644 --- a/Append Note to Selected Task.applescript +++ b/Append Note to Selected Task.applescript @@ -48,7 +48,7 @@ on main(q) tell application "OmniFocus" tell content of first document window of front document --Get selection - set validSelectedItemsList to value of (selected trees where class of its value is not item and class of its value is not folder and class of its value is not context and class of its value is not perspective) + set validSelectedItemsList to value of (selected trees where class of its value is not item and class of its value is not folder and class of its value is not tag and class of its value is not perspective) set totalItems to count of validSelectedItemsList if totalItems is 0 then set alertName to "Error" diff --git a/Clear Dates.applescript b/Clear Dates.applescript index f693d00..277a2af 100644 --- a/Clear Dates.applescript +++ b/Clear Dates.applescript @@ -73,7 +73,7 @@ on main() tell application "OmniFocus" tell content of first document window of front document --Get selection - set validSelectedItemsList to value of (selected trees where class of its value is not item and class of its value is not folder and class of its value is not context and class of its value is not perspective) + set validSelectedItemsList to value of (selected trees where class of its value is not item and class of its value is not folder and class of its value is not tag and class of its value is not perspective) set totalItems to count of validSelectedItemsList if totalItems is 0 then set alertName to "Error" diff --git a/Shift.applescript b/Shift.applescript index 7354197..c76dfce 100644 --- a/Shift.applescript +++ b/Shift.applescript @@ -110,7 +110,7 @@ on main(q) tell application "OmniFocus" tell content of first document window of front document --Get selection - set validSelectedItemsList to value of (selected trees where class of its value is not item and class of its value is not folder and class of its value is not context and class of its value is not perspective) + set validSelectedItemsList to value of (selected trees where class of its value is not item and class of its value is not folder and class of its value is not tag and class of its value is not perspective) set totalItems to count of validSelectedItemsList if totalItems is 0 then set alertName to "Error" diff --git a/Snooze.applescript b/Snooze.applescript index cea8408..a4ca23f 100644 --- a/Snooze.applescript +++ b/Snooze.applescript @@ -85,7 +85,7 @@ on main(q) tell application "OmniFocus" tell content of first document window of front document --Get selection - set validSelectedItemsList to value of (selected trees where class of its value is not item and class of its value is not folder and class of its value is not context and class of its value is not perspective) + set validSelectedItemsList to value of (selected trees where class of its value is not item and class of its value is not folder and class of its value is not tag and class of its value is not perspective) set totalItems to count of validSelectedItemsList if totalItems is 0 then set alertName to "Error" diff --git a/This Weekend.applescript b/This Weekend.applescript index 3a63275..a532995 100644 --- a/This Weekend.applescript +++ b/This Weekend.applescript @@ -81,7 +81,7 @@ on main() tell application "OmniFocus" tell content of first document window of front document --Get selection - set validSelectedItemsList to value of (selected trees where class of its value is not item and class of its value is not folder and class of its value is not context and class of its value is not perspective) + set validSelectedItemsList to value of (selected trees where class of its value is not item and class of its value is not folder and class of its value is not tag and class of its value is not perspective) set totalItems to count of validSelectedItemsList if totalItems is 0 then set alertName to "Error" diff --git a/Today.applescript b/Today.applescript index 6c208db..fc55f52 100644 --- a/Today.applescript +++ b/Today.applescript @@ -101,7 +101,7 @@ on main() tell content of first document window of front document --Get selection set totalMinutes to 0 - set validSelectedItemsList to value of (selected trees where class of its value is not item and class of its value is not folder and class of its value is not context and class of its value is not perspective) + set validSelectedItemsList to value of (selected trees where class of its value is not item and class of its value is not folder and class of its value is not tag and class of its value is not perspective) set totalItems to count of validSelectedItemsList if totalItems is 0 then set alertName to "Error" diff --git a/Toggle Sequential.applescript b/Toggle Sequential.applescript index ffe2eec..c14af14 100644 Binary files a/Toggle Sequential.applescript and b/Toggle Sequential.applescript differ diff --git a/Tomorrow.applescript b/Tomorrow.applescript index 5b026c3..4a47fe2 100644 --- a/Tomorrow.applescript +++ b/Tomorrow.applescript @@ -95,7 +95,7 @@ on main() tell content of first document window of front document --Get selection set totalMinutes to 0 - set validSelectedItemsList to value of (selected trees where class of its value is not item and class of its value is not folder and class of its value is not context and class of its value is not perspective) + set validSelectedItemsList to value of (selected trees where class of its value is not item and class of its value is not folder and class of its value is not tag and class of its value is not perspective) set totalItems to count of validSelectedItemsList if totalItems is 0 then set alertName to "Error"