# passing multiple selected items to external tool

**URL:** https://community.mp3tag.de/t/passing-multiple-selected-items-to-external-tool/16451
**Category:** Support
**Created:** [December 29, 2014, 2:14am UTC](https://community.mp3tag.de/t/passing-multiple-selected-items-to-external-tool/16451 "2014-12-29T02:14:32Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![ryerman](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ryerman/32/5285_2.png) [@ryerman](https://community.mp3tag.de/u/ryerman)
#### Post date: [January 1, 2015, 2:55am UTC](https://community.mp3tag.de/t/passing-multiple-selected-items-to-external-tool/16451/7 "2015-01-01T02:55:59Z")

</div>

> [@Tezza](#):
>
> Okay I will take a look at a scripting option then but I have no idea what an MTE file is. I've never used VBS before. I've only scripted in PHP so could use that I to save time suppose. I did think of that before but was hoping that there was an easier method that I just hadn't spotted. Seems kinda obvious to have a way to pass a selected list to another program.
> 
> Thanks for the tips. I will check out that other thread too.

No argument from me. I agree that passing a selected list would be a very useful feature.

fyi:  
An MTE ( **M** p3 **t** ag **E** xport) file is used by Mp3tag to export tag and file information.  
They are text files with an "mte" extension, and can be created in any text editor or by choosing "New" in the "Export" ![:mt_export:](https://community.mp3tag.de/uploads/default/original/1X/4262e887a75b94106ff726fd5c1883dabd63451d.png ":mt\_export:") dialogue.  
If you create them outside Mp3tag they should be installed in "%APPDATA%\Mp3tag\export"  
[https://docs.mp3tag.de/export](https://docs.mp3tag.de/export)  
[/t/1495/1](https://community.mp3tag.de/t/1495/1)

The trick is to use the "Export" functionality (which creates a text file) to write a script file that is executed when opened by the operating system.

I have some experience with VBS and no knowledge of PHP.  
On my system, VBS files are executed when opened. Maybe that is the case for PHP files.

Ask, if you want any help to customize the example VBS script.  
Your original post suggests customization will require minor changes.

---

_[View the full topic](https://community.mp3tag.de/t/passing-multiple-selected-items-to-external-tool/16451)._
