Bit Rate mode: Preset, Variable, Average & Constant.
Quality: various kbps rates depending on the above selection.
Variable Speed: Depends on Bit Rate mode selection above.
Channel mode: Joint Stereo or Stereo.
; AHK-Version..: AHK_L Version 1.1.06.02 x64 Unicode; System.......: Windows 7 Ultimate SP1; Autor........: Seidenweber #SingleInstance force SetWorkingDir %A_ScriptDir% SoundPlay, *48 Menu, Tray, Icon, %A_WinDir%\system32\SHELL32.dll, 239 Gui, +AlwaysOnTop +ToolWindow +OwnDialogs Gui, Add, GroupBox, x5 y3 w140 h130 , Drop XWM's/WAV's here Gui, Add, Text, x5 y140 w70 h20 , Target Bitrate: Gui, Add, DropDownList, x75 y135 w70 h20 r7 vBitRate choose3, 20000|32000|48000|64000|96000|160000|192000 Gui, Add, Text, x20 y173 w140 h20 , If Target already exists... Gui, Add, Radio, x5 y190 w140 h20 vBehavior, ...always overwrite! Gui, Add, Radio, x5 y207 w140 h20 , ...don't touch it! Gui, Add, Radio, x5 y224 w140 h20 Checked, ...ask me! Gui, Show, h249 w153, wav2xwm & vice versa FileInstall, xWMAEncode.exe, xWMAEncode.exe Return ; end of autoexec header GuiDropFiles: Gui Submit, NoHide Loop, parse, A_GuiEvent, `n { SplitPath, A_LoopField,, sDir, sixt, sName tExt := sixt = "wav" ? "xwm" : (sixt = "xwm" ? "wav" : false) sFileName := sDir "\" sName "." sixt tFileName := sDir "\" sName "." tExt If (!FileExist(tFileName) || Behavior = 1) { FileRecycle, %tFileName% Run xWMAEncode.exe -b %BitRate% "%sFileName%" "%tFileName%",, Hide } Else If (FileExist(tFileName) && Behavior = 2) { Continue } Else If (FileExist(tFileName) && Behavior = 3) { MsgBox, 4132, What to do?, The following file already exists:`n%tFileName%`n`nOverwrite it? IfMsgBox Yes { FileRecycle, %tFileName% Run xWMAEncode.exe -b %BitRate% "%sFileName%" "%tFileName%",, Hide } Else Continue } } Return GuiClose: SoundPlay, *64 ExitApp