have a script that only has:
Code:
break on
play $arg1



in it.
then in your main script:
Code:
 
$playbutton.onclick="run '"+@scriptdir+"\wkix_player.exe "+@scriptdir+"\myplayerScript.kix $arg1=the_wav_file.wav'"
$stopbutton.onclick="run 'kill wkix_player.exe -f"



well, this is the shortest way.
wkix_player is just wkix32 renamed to be able to kill it without killing your main script
_________________________
!

download KiXnet