Copy Tag Items to Clipboard

Hi,

I am a big fan of mp3tag & recently I decided to write a simple script with autohotkey (the amazing free scripting software for desktop) to copy tags to clipboard.

To use this tiny utility, go to tools in mp3tag options. click new & select the exe file in path.
And for the parameter write anything you want to be copied between quotes.

for example:

"%artist% %title%"

enjoy, & post your ideas about this. :wink:

Copy_to_Clipboard.zip (214 KB)

I was wondering if you could post your actual AHK code because I use Autohotkey quite a bit and I might want to modify your code for my own purposes. Did you use basic Autohotkey or Autohotkey_L?

Also what's the purpose of sending tag data to the clipboard? What do you do with it after that?

it has just one line code:

clipboard = %1%
  • note that mp3tag could not launch an AHK file & the file must be compiled.

I use Autohotkey,

I use it to search in sites like google, youtube, & many other sites. rather than creating a tool for each one.

Thank you for this excellent litte tool which works perfectly.

However: could you extend it to the copy of all tags of an album to the clipboard?

I need it badly for the tagging of old CD's which are not found in freedb or any other database, but the tags of which I have on other, newer versions.

I would appreciate highly your solution.

If you want to transfer the entire tags from a group of files to another one you can use the Mp3tag Tag copy feature:
/t/965/1

Hi 'ni.va',

Many thanks for this cute tool. It works a treat.

Now I wonder if it could be developed with some kind of 'append' function to enable the copying of the contents of one field of more than one tag. For example, I select a group of 10 tags; in 'Tools', set the parameter for a new tool 'multiple copy to clipboard' to, say, "%title%"; run 'multiple copy to clipboard' by right clicking, selecting 'tools' then 'multiple copy to clipboard'; then paste a list of the 10 titles into, say, Wordpad!

This could be useful for various purposes but most especially for me as a possible way round what I think is the impossibility in MP3Tag of copying the varying contents of one field in a group of, say, 10 file tags to one field in a different group of 10 file tags.

I'm afraid I have very little programming knowledge so have no idea how easy or difficult this might be.

I'd say that you already find this function if you use the export features.
This creates a text-file that you can open e.g. with wordpad.

Like ohrenkino already said in this thread above, there is the Mp3tag export feature, which allows to create textual output as your wish.

I have created a Mp3tag export output as HTML page with buttons to copy text to clipboard.
Maybe you can adapt it to your needs.
See there ...
Export for RYM

DD.20121112.1649.CET

Thanks, ohrenkino, you are quite right; I can get a list of titles in a text file that way - though it's not quite as convenient as 'Copy to clipboard' would be.

This is a different topic - but concerns the reason I wanted such a list, as stated above.

I find now I was wrong in thinking I could use such a list to import the titles into the title field of another set of tags using the 'import from text file' action. All that happens is that I get ALL the titles in the title field of EACH track of the second group!!!! Ah, woe; ah, me! How can one, using MP3Tag or otherwise, copy, separately in order, the varying info in a field of each tag of a group of tags into a field of another group of the the same number of tags? Is it possible?

The "Import text file" action is designed to import a complete text file to a tag field.

If you want a "one line for each file" import you can use "Convert > Text file - tag"

Yet it's also possible to do it with the "Import from text file" action.
You just need a few extra actions that will only leave one line in each tag of the files.

  1. Select files and export one or more tag-fields into a text file, using a report script, creating a CSV alike text format.
  2. Use Converter "Textfile -Tag" to import the CSV alike text data into selected files into tag-fields specified by format string.

DD.20121112.2102.CET