How to use $list to save tag info to text file

Hi, I need some newbie advice on where / how I can use the $list function to export all tag values to a text file (for all displayed files or selected files, either will do). I found the following page with info but not sure where to run the $list function so it outputs the values to a text file. I also know there is the export functions available but none of those listed on the Export Configuration Archive give all the details I need as far as I can see. Regardless, I would like to understand where to put the $list function and execute (apologies if the answer is very obvious).

$list(,: ,$char(10))

Mp3tag Tag Dump Row
$filename(Mp3tag.tagdump.row.txt,ANSI)$loop(%_path%)^|_MD5AUDIO:''%_md5audio%''|_MD5:''%_md5%''|_PATH:''%_path%''|$regexp($list(,:'',''|),\r\n,U+000DU+000A)$$$char(13)$char(10)$loopend()

Mp3tag Tag Dump Col
$filename(Mp3tag.tagdump.col.txt,ANSI)$loop(%_path%)^
_MD5AUDIO:''%_md5audio%''
_MD5:''%_md5%''
PATH:''%path%''
$regexp($regexp($list(,:'',''$char(13)
$char(10)),\r\n,U+000DU+000A),\r\n,\r\n)$$

$loopend()

You would have to create your own export script and run it on the amount of files that you consider appropriate.
See the documentation:

To open the export selection, press Ctrl-E and then the New button.
Replace the sample text with your own script.

Much apperciated Ohrenkino - apologies for the extremely late reply, been a bit crazy busy and juggling things.