Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 20:57

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Autoit]Music Function.

Discussion on [Autoit]Music Function. within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 260
Join Date: Nov 2013
Posts: 299
Received Thanks: 241
[Autoit]Music Function.

So hello, dis is my second question,

My friend asked me how to add audio (music) in autoit, and I really do not know how.

Any support?


Quote:
Autoit
Siktor is offline  
Old 12/21/2013, 20:19   #2
 
YatoDev's Avatar
 
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
#include <Sound.au3>
FileInstall
_SoundPlay()
YatoDev is offline  
Thanks
1 User
Old 12/21/2013, 20:22   #3
 
elite*gold: 260
Join Date: Nov 2013
Posts: 299
Received Thanks: 241
Quote:
Originally Posted by »FlutterShy™ View Post
#include <Sound.au3>
FileInstall
_SoundPlay()
I just type this, and add the song in the same folder?
Siktor is offline  
Old 12/21/2013, 20:44   #4
 
YatoDev's Avatar
 
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
no

Code:
#include <Sound.au3>
$handle = _SoundOpen(@ScriptDir & "\yoursound.mp3")
_SoundPlay($handle)
please learn autoit
YatoDev is offline  
Thanks
2 Users
Old 12/21/2013, 21:01   #5
 
elite*gold: 260
Join Date: Nov 2013
Posts: 299
Received Thanks: 241
Quote:
Originally Posted by »FlutterShy™ View Post
no

Code:
#include <Sound.au3>
$handle = _SoundOpen(@ScriptDir & "\yoursound.mp3")
_SoundPlay($handle)
please learn autoit
Hmmm... Thanks I quess.

Quote:
please learn autoit
-->

Quote:
and it is not for me, IDC about it
Siktor is offline  
Old 12/22/2013, 01:44   #6
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
If you don't care about it then the person who cares about it should ask it.
alpines is offline  
Old 12/22/2013, 02:02   #7
 
elite*gold: 0
Join Date: Jan 2013
Posts: 355
Received Thanks: 2,574
Use FileInstall for Install .mp3 in Temp or C:/.

And use :
SoundPlay("C:/Music.mp3")

And FileDelate (Delate Music) for not to leave garbage on the PC.

Example :

PHP Code:
FileInstall("C:\Users\xluiscolx\HardPorn\xD\Music.mp3""C:\Music.mp3")
SoundPlay("C:/Music.mp3"
And add func close Button or Close the Form

PHP Code:
FileDelete("C:\Music.mp3"


#include <Sound.au3> No Required
LuchoTrolling is offline  
Thanks
1 User
Old 12/22/2013, 11:30   #8
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Actually in some cases the include Sound.au3 would be better because it offers you more options than just play a sound.
alpines is offline  
Reply


Similar Threads Similar Threads
[Autoit]Music Function.
12/22/2013 - S4 League - 3 Replies
#Sorry didn't know that it is wrong section!
Need help to add 2 Function in bot build on Autoit
09/13/2009 - AutoIt - 6 Replies
Hey All, How are you..?! Hope be good I wanna help to add 2 Function in bot build on Autoit The bot which i need to add on it at attachment This bot maked Bywildspirit n this topic of bot here So i ask if any one can help me to add function that stop this Bot after 3h ..? (i mean like Timer)(It's like Howl interval in this bot) Coz i hate to take spwen to myself only By using Auto Howl Although my bag Full. -Press ctrl+a (always) coz auto grab is very slow.. PLz Bro if Any one...
GUI Button function w/ autoit
01/02/2009 - Conquer Online 2 - 12 Replies
kk im a newbie at makin bots but heres the code i have now... okay im a TOTAL newb at making stuff with autoit, so far i can only make simple things with clicking and what not...but i ran into a problem today. my bot creates a gui that instructs you on how to use the bot, what i need help with is how to create a hotkey that "Starts" the bot(the opposite of the exiting hotkey) HotKeySet("^!x", "QuitProg") Func QuitProg() Exit EndFunc thats the exit hotkey that i got, but i was wondering...
Autoit function
03/17/2008 - Silkroad Online - 0 Replies
I'm just looking to write a quick autoit script so I can auto-ress if I need to delvl someone. It's my first time using autoit ^^ I found the Sleep (#) code to wait, but what is the code to select a skill? I also would like to know how I can make the program loop until I press a button to end it. I've looked around and used the search button, but I don't see any codes posted here, only the programs. Thx for anyone who can help me :D



All times are GMT +2. The time now is 20:57.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.