Example for Apple Shortcuts for adding sub-tasks
Hi there,
I struggle a bit adding a new subtask to an existing task using Apple Shortcuts on a Mac. I can successfully create a new top-level task.
Thanks, Mike
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Niko on 19 Mar, 2023 05:17 PM
Hi Mike,
No problem, here is an example:
tell application "Timelime"
GetTaskIDs name "TaskName"
if (count of previousTaskIDs) is 1 then
set taskID to item 1 of (get previousTaskIDs)
CreateTask name "child" parentTaskID taskID
end if
end tell
I hope this helps,
Niko