created: 20200702092958496 modified: 20200702110313440 tags: $:/tags/Macro title: $:/ou/macros/OpenByFilterOrPath type: text/vnd.tiddlywiki \define openByFilter(filter) <$button> Open All <$list filter=<<__filter__>> > <$action-navigate $to={{!!title}}/> </$list> </$button> \end \define openByPath(path) <$button> Open All <$list filter="[!is[system]prefix[$path$]!tag[hidden]!tag[image]!tag[toc]!sortan[section]]" > <$action-navigate $to={{!!title}}/> </$list> </$button> \end Displays a button that will open all tiddlers matching the given filter or path. Usage By filter: ``` <<openByFilter "[!is[system]tag[toc]sort[]]">> ``` By path: ``` <<openByPath "/Labs/01/">> ```