Drafts and macOS / iOS tags

During the last episode @MacSparky / David mentioned drafts/OS tag inter-operability.

Unfortunately as usual the shownotes did not pick up on this.

My question: the 5 w’s?

How do I make this work?

(And @MacSparky & @RosemaryOrchard : please, please expand on the shownotes?)

The File step for actions now includes an option to specify tags.

Additionally, the FileManager class for use in Drafts scripting (Action Script steps) now has getTags() and setTags() functions to allow you to work with file system tags.

The File step is probably the easiest to work with, allowing you to set a comma separated list of file system tags. You can also use Drafts template tags in that field and the [[tags]] will give you a comma separated list of all the Drafts tags associated with the draft, which is quite convenient to give you a 1-2-1 mapping.

1 Like

I did link the update notes for Drafts, but unfortunately, you can’t link directly to that section :wink: