Monovski 4 Posted August 29, 2015 Report Share Posted August 29, 2015 Hello all, any methods (command) for ubot playing sound (sound can be ding! ping! and so on) after finished some task? thanks Quote Link to post Share on other sites
pftg4 102 Posted August 29, 2015 Report Share Posted August 29, 2015 think there is a built in command for that Quote Link to post Share on other sites
Monovski 4 Posted August 29, 2015 Author Report Share Posted August 29, 2015 what command pftg4 Quote Link to post Share on other sites
deliter 203 Posted August 29, 2015 Report Share Posted August 29, 2015 dont know if their is,someone does have a play sound plugin if you just want a few sounds put them in the same folder as the bot get the command line plugin(free and brilliant) see below,that would work if the clip has no spaces.for files with spaces something different start song.mp3 Quote Link to post Share on other sites
Pete 121 Posted August 30, 2015 Report Share Posted August 30, 2015 You will need the plugin plugin command("Advanced Shell.dll", "shell batch hidden", "start wmplayer \"c:\\windows\\media\\chimes.wav\"", "Yes") Quote Link to post Share on other sites
darryl561 177 Posted August 30, 2015 Report Share Posted August 30, 2015 TJ has a Sound Commands plugin that would be a good option and it's only $10 http://www.ubotstudio.com/forum/index.php?/topic/13441-sell-plugin-sound-commands/ 1 Quote Link to post Share on other sites
Monovski 4 Posted August 30, 2015 Author Report Share Posted August 30, 2015 Thanks dyrill 1 Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted August 30, 2015 Report Share Posted August 30, 2015 here ya go, this won't run another program window like media player. run python("import winsoundwinsound.PlaySound(\"C:/Windows/Media/tada.wav\", winsound.SND_FILENAME)")comment("https://docs.python.org/2/library/winsound.html")run python("winsound.PlaySound(\"SystemExit\", winsound.SND_ALIAS)") however, you will need dev edition or python plugin(python installed) if you read the docs carefully it shouldn't be too hard to understand. Play around for a bit too. What can it hurt. This is not for a music player just to platy the sound files.CD edit:and take special note to the file path you can use replace func to replace \ with / or \\ will work \\ the first \ is escaping the second here in python \ is splecial character 1 Quote Link to post Share on other sites
Monovski 4 Posted September 3, 2015 Author Report Share Posted September 3, 2015 thanks Code Docta I will try Quote Link to post Share on other sites
Black Automation 20 Posted September 4, 2015 Report Share Posted September 4, 2015 they also have a dll inside the plugins folder that can be called via python to play sounds.Someone created a post about it here on the forum once. 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.