mirror of https://gitlab.com/octtspacc/OcttKB
17 lines
485 B
Plaintext
17 lines
485 B
Plaintext
tags: $:/tags/Commander/Macro
|
|
title: $:/plugins/kookma/commander/search/macros/select-deselect
|
|
type: text/vnd.tiddlywiki
|
|
|
|
\define select-all()
|
|
<$list filter="[subfilter<filtertext>!is[missing]!tag<workingTag>]">
|
|
<$fieldmangler>
|
|
<$action-sendmessage $message="tm-add-tag" $param=<<workingTag>> />
|
|
</$fieldmangler>
|
|
\end
|
|
|
|
\define deselect-all()
|
|
<$list filter="[tag<workingTag>]">
|
|
<$fieldmangler>
|
|
<$action-sendmessage $message="tm-remove-tag" $param=<<workingTag>> />
|
|
</$fieldmangler>
|
|
\end |