welby 4 Posted February 28, 2018 Report Share Posted February 28, 2018 Hi all, I was wondering if anyone has created a simple Audio Jukebox in ubot studio? I was wondering if it can be done in the native gui of ubot without resorting to java and html? i have started to investigate and I can play the audio file using the "Play Sound" function but cannot find a way of pausing the audio or stopping the audio. I tried to use "Sound>Stop sound" but I am guessing that relates to the OS System sounds and not the sound being played directly from the ubot? Anyone tried this? Here's my basic starter code. ui button("Play") { verify audio libraries play sound(#filename) } ui button("Stop") { bot source command(1290) } ui open file("Assign File",#filename) Quote Link to post Share on other sites
welby 4 Posted February 28, 2018 Author Report Share Posted February 28, 2018 OK - I had to resort to a shell command and call out the wmplayer.exe, which is a shame as I wanted to do this all in the GUI without resorting to third party tools. I have to say the wmplayer is very limited to control by the command line. Think I will have to find a thirdparty player that behaves well and can be controlled better by the commandline. Pants! Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted March 2, 2018 Report Share Posted March 2, 2018 There is a plugin in here called "sound commands", it is free along with many others. Regards,CD Quote Link to post Share on other sites
welby 4 Posted April 11, 2018 Author Report Share Posted April 11, 2018 I apologise, but, in my opinion, this theme is not so actual. It's OK I have developed the app in another platform - but thank you for your reply Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.