# Run a TOOL Command, based on selection, in a SINGLE WINDOW

**URL:** https://community.mp3tag.de/t/run-a-tool-command-based-on-selection-in-a-single-window/55787
**Category:** Support
**Created:** [January 7, 2022, 9:39am UTC](https://community.mp3tag.de/t/run-a-tool-command-based-on-selection-in-a-single-window/55787 "2022-01-07T09:39:35Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [January 7, 2022, 9:56am UTC](https://community.mp3tag.de/t/run-a-tool-command-based-on-selection-in-a-single-window/55787/3 "2022-01-07T09:56:16Z")

</div>

Maybe this thread gives you some informations:

> [@passing multiple selected items to external tool](https://community.mp3tag.de/t/passing-multiple-selected-items-to-external-tool/16451):
>
> Okay so I am adding xrecodeII.exe as an external tool. It has a fairly rich set of command line invocation options. [http://xrecode.com/cmdline.txt](http://xrecode.com/cmdline.txt) I am invoking it thusly at the moment /sendto "%\_path%" but that means xrecode can only receive one item at a time from mp3tag. I need it to receive all selected items. I also have implemented /sendto "%\_folderpath%" but that gets me the whole folder (something separate to what I am looking for). I didn't spot any scripting functions that wou…

---

_[View the full topic](https://community.mp3tag.de/t/run-a-tool-command-based-on-selection-in-a-single-window/55787)._
