Author Topic: How to run a custom command for selected files in one click  (Read 3472 times)

redwing

  • Guest
Additional Tagging Tools plugin supports up to 10 presets to get bound to MB's hotkeys. What this means is that if you have a frequently used preset, you can apply it to selected files by either using a hotky or clicking on a toolbar button.

Say you want to increase the play count value of the selected tracks by one. If those files have all different count, you will have to edit each file's count one by one using tag editor's properites tab. But if you use the plugin's feature, one click can update the value for all files.

- First, install the latest version of the plugin and enable it.
- Think about what preset can resolve the issue. In this case, arithmetic operation is required which is only possible via this plugin's virtual tag functions. So you can first create a virtual tag that shows the increased value and then use "copy tag" preset to copy that value to play count field.
- Go to Preferences> Tags (1)> Define new tags and create a virtual tag "pc+1" with the following formula:
Code
$Add(<Play Count>,1)
- Run the plugin's Advanced Search and Replace command, import all presets, and find "TOY: copy tag" preset.
- You need to modify this preset into a custom one. Click on copy button and then select the new one and click Rename/Edit button to open the editor dialog.
- Edit the preset name and choose pc+1 tag and Play Count tag for Tag1 and Tag2 setting. Click OK to close down the dialog.



- Now if you look at ASR command dialog, you will find "Assign hotkey for this preset" option. Select the preset and tick the option. But, do not tick the tickbox just next to the preset name since that will auto-apply the preset and mess up the tag value by keep increasing it.



- Click on Save all & Close button, and restart MB.
- Go to preferences> Hotkeys and find the preset name in the hotkey command list that starts with "Tagging Tools:"
- You can either assign a hotkey to the command or configure a toolbar button to run it.

It's done now. If you run the preset this way, it instantly applies the command without showing the preset dialog. So always start using it with a few test files.