Hi @nick , trying to build an extension that requires me to execute an AppleScript. I tried this but it doesn’t work and says Don't use tabs in block style YAML when trying to install. What do I need to change?
# popclip
name: Things
icon: Things
applescript: |
tell application "Things3"
set newToDo to make new to do with properties {name:"Your Task Name"} at beginning of list "Inbox"
end tell
Yeah your YAML is incorrect, everything after the | need indenting with a minimum of one space.
However, instead of messing with that, it’s easier to use the inverted syntax like this:
-- # popclip
-- name: Things
-- icon: Things
-- language: applescript
tell application "Things3"
set newToDo to make new to do with properties {name:"Your Task Name"} at beginning of list "Inbox"
end tell