VIP 55 Posted February 13, 2013 (edited) I want to run in the background repeating some music (mp3) to program exit, or stop by a command (eg: SoundStop,HotKey)!PlaySound loop? Edited February 13, 2013 by Trong Regards, Share this post Link to post Share on other sites
Melba23 3,412 Posted February 13, 2013 (edited) Trong,Use the Sound.au3 UDF. Call _SoundStatus to check at intervals (AdlibRegister perhaps) and then _SoundPlay again if the return is "stopped". M23P.S. Can you stop using coloured fonts please - the forum standard is quite adequate. Edited February 13, 2013 by Melba23 1 VIP reacted to this Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Share this post Link to post Share on other sites
VIP 55 Posted February 13, 2013 Thanks! I'll try it now!P/S: @Melba23 Online 24/24h ? Regards, Share this post Link to post Share on other sites
UEZ 1,265 Posted February 13, 2013 Thanks! I'll try it now!P/S: @Melba23 Online 24/24h ?Sure, Melba23 never sleeps. UEZBr, 1 VIP reacted to this Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Share this post Link to post Share on other sites