Command: JoinMP3

Thanks for the script.

Here is a sample button, the one I use:

(When pasting into the Button Editor, ensure the Function drop-down is set to Standard Function (Opus or External). Do not set it to Script Function for this command.)

@disablenosel
@filesonly
@nodeselect
@runmode:min
@nofilenamequoting

// ===============================================
// Secure step: if you have selected some files that are not mp3 this will deselect them and prevent errors from ffmpeg
// (This requires you have a proper filter set)

Select "NOT mp3" FILTER DESELECT 

// ===============================================
// This will prompt you for the name of the new mp3

@runonce:@set target={dlgstringS|New MP3 file name:|{file$|noext}}

// ===============================================
// Here you can customize the ffmpeg path (it handles alias)

@set exe=/Programs\Multimedia\ffmpeg\bin\ffmpeg.exe

// ===============================================
// Here is the final command
// Just customize it for your need
JoinMP3 TARGETFILE "{sourcepath}{$target}.mp3" PAUSEATEND false FFMPEGEXE "{$exe}"

Here is the "NOT mp3" filter used in command

Create a new filter and name it NOT mp3

add 1st rule such as: type | match | file only
add 2d rule such as: name | match | ~(*.mp3) | tick Use wildcards | untick Use regular expression