/*
** Play
*/

playerpath = 'Apps:Sound/Players/AmigaAmp/AmigaAmp'

parse arg filename
options results

if ~show('P','AMIGAAMP') then address command 'run <>nil: 'playerpath

do while ~show('P','AMIGAAMP')
   call delay(50)
end

address 'AMIGAAMP'

'OPEN 'filename
