REM import mp3 script
REM by james johnston
REM requires a dummy wav file in c:\ and c:\ to be in the wavtable list
FILEBROWSE APE Files (*.ape)|*.APE|MAC Files (*.mac)|*.MAC
setstring output dialog
combine output .wav
setstring lame "
combine lame !home
combine lame \tools\buzzscript\
combine lame MAC"
addspace lame
combine lame "
combine lame dialog
combine lame "
addspace lame
combine lame "
combine lame output
combine lame " -d
debug lame
RUNANDWAIT lame
; pause 1
HOSTACTIVATE
SETACTIVESCREEN WAVTAB
ACTIVATE
VBKEY {F2}{F9}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{ENTER}{ENTER}{ENTER}{ENTER}{ENTER}{ENTER}{ENTER}{ENTER}
VBKEY {F2}{F9}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{ENTER}
VBKEY {f2}{f9}{tab} {tab}
VBKEY {F2}{F9}{TAB}{down}{up}{BS}
VBKEY {F2}{F9}{tab}{tab}
RIGHTCLICK
VBKEY {DOWN}{DOWN}{ENTER}
VBKEY {F2}{F9}{tab}{tab}
RIGHTCLICK
VBKEY {DOWN}{ENTER}
VBKEY output
VBKEY {ENTER}
DELETEFILE output
INFO The script currently cannot edit the root note. It is adjusted similar to renaming a file in windows.
ENDSCRIPT