How to use filter search of advanced search as input for zip-tid macro

@Mark_S
Today I came across ziptid macro created by you. I like this idea to create a zip file of tiddlers in tid format. Is it possible to use the filter we type in the input box of advanced search tab as the filter in this ziptid macro?

I want to add it as a button next to the share button in the advanced search tab - take a look at this. by adding $:/tags/AdvancedSearch/FilterButton tag.

I have done similar things with buttons on advanced search > filters buttons. Including to package a bookmarklet or drag and drop it.

  • I would like to create a zip JSON bundles button
  • last time I looked the zip process itself does the export.
  • I am happy to gave a look

@TW_Tones I have already added copy-clipboard , drag and drop option to the advanced search filter tab with help from this forum. I also use save-filter button provided by @EricShulman. All those can be seen in this link.

It would be nice to add this zip-tid option also since it will make the workflow easier.

see https://tiddlytools.com/#TiddlyTools%2FSearch%2FSaveFilter
Notes:

  • When search filter input is not empty, a “save” button is added to the other AdvancedSearch/FilterButtons.
  • When the button is pressed, a dropdown is displayed so you can enter a tiddler title, filter definition, and filter description. The filter definition and description default to the current search filter input value.
  • When the “tiddler title” input is not empty, a “save filter” button appears in the dropdown. Press this button to create a new tiddler, tagged with $:/tags/filter.
  • This new tiddler will automatically be included in the dropdown list of saved filters, so you can easily select and use the new custom filter definition.

Thanks @EricShulman for the savefilter option. I have been using it for the last few months and its is super useful.

The advanced search text is saved in:

$:/temp/advancedsearch

So you can invoke the ziptid macro using $macrocall, and have

… filter={{$:/temp/advancedsearch}} …

<$macrocall $name="ziptid" filter={{$:/temp/advancedsearch}} />

This did the trick.
Is there any way to provide a user input as the title for this zip file ?