Use Text Transporter and Commander to move stuff quickly?

What I’m trying to do

I’d love to add a context menu item ‘Send this line to file foo.txt’. Text Transporter can ‘Push Selection to File’, but then you have to specify the file. Obsidian Commander can add this as a context menu item (it’s already there) but I’d ideally like to specify the file in a single click. Any suggestions?

Things I have tried

Tried configuring a macro, or appending argument to command

you might like this solution:

Yurcee - in the same vane, is it possible within a DAUGHTER note to, say, transport all text under a specific heading in a MOTHER note? For example, I might have a note titled “Important Questions” and have headers underneath as follows:

Burger King

  • How many burgers sold?

Pepsi

  • How many bottles shipped?
  • Results or recent taste test?

If I then open a Pepsi note, can I automatically have the Pepsi questions placed in my note?

Hope that makes sense…thanks !!

the code (courtesy of @AlanG) i linked works based on pre-selected text so depends what you have selected…you can have the heading and the paragraphs below selected…

related thread:

i usually like to do it manually…select text from master note, then copy embed link with the carry forward plugin and paste the embed link to files I want to be reminded that a particular topic was brought up elsewhere – the master or mother file will be the strongest, most informative, the rest acting as fillers, for instance…