# Scripting functions in Text file → Tag converter

**URL:** https://community.mp3tag.de/t/scripting-functions-in-text-file-tag-converter/16977
**Category:** Support
**Created:** [June 19, 2015, 1:01am UTC](https://community.mp3tag.de/t/scripting-functions-in-text-file-tag-converter/16977 "2015-06-19T01:01:48Z")
**Posts on this page:** 1
**Showing post:** 13

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [June 22, 2015, 6:10am UTC](https://community.mp3tag.de/t/scripting-functions-in-text-file-tag-converter/16977/13 "2015-06-22T06:10:18Z")

</div>

> [@aax](#):
>
> ... I can't figure out how I would "simulate" that.

For short ...

- Import by action the entire CSV or SSV text file into a temporary helper tag-field e. g. TEXT\_SSV.
- Extract by action the right fitting data-line from the tag-field TEXT\_SSV for the current file, ...  
e. g. by using the currrent filepathname %\_path%.
- Import by action the tag-fields from the previously extracted data-line.

Something alike see there ...  
[TXT Import Dateiname = txtname](https://community.mp3tag.de/t/11900/3)

DD.20150622.1010.CEST

Attached is a zip-file, which contains a set of test-files.

1. Extract all files into a folder of your wish.
2. Move or copy the example mta file into your Mp3tag actions folder ...  
%appdata%\Mp3tag\data\actions
3. Invoke Mp3tag and load the files from the test folder.
4. Select all test files and apply the example action.
5. Check the tag-fields within the test files.  
Ready.

~~20150622.Test.aax.SSV.zip ( 2.23K ) Number of downloads: 7~~  
Attachment replaced by ...  
[http://forums.mp3tag.de/index.php?act=atta...ost&id=6112](http://forums.mp3tag.de/index.php?act=attach&type=post&id=6112)

DD.20150622.1900.CEST, DD.20150712.1100.CEST

---

_[View the full topic](https://community.mp3tag.de/t/scripting-functions-in-text-file-tag-converter/16977)._
