|
You last visited: Today at 20:57
Advertisement
[Autoit]Music Function.
Discussion on [Autoit]Music Function. within the AutoIt forum part of the Coders Den category.
12/21/2013, 19:57
|
#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:
|
|
|
12/21/2013, 20:19
|
#2
|
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
|
#include <Sound.au3>
FileInstall
_SoundPlay()
|
|
|
12/21/2013, 20:22
|
#3
|
elite*gold: 260
Join Date: Nov 2013
Posts: 299
Received Thanks: 241
|
Quote:
Originally Posted by »FlutterShy™
#include <Sound.au3>
FileInstall
_SoundPlay()
|
I just type this, and add the song in the same folder?
|
|
|
12/21/2013, 20:44
|
#4
|
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
|
|
|
12/21/2013, 21:01
|
#5
|
elite*gold: 260
Join Date: Nov 2013
Posts: 299
Received Thanks: 241
|
Quote:
Originally Posted by »FlutterShy™
no
Code:
#include <Sound.au3>
$handle = _SoundOpen(@ScriptDir & "\yoursound.mp3")
_SoundPlay($handle)
please learn autoit
|
Hmmm... Thanks I quess.
Quote:
-->
Quote:
and it is not for me, IDC about it
|
|
|
|
12/22/2013, 01:44
|
#6
|
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.
|
|
|
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
|
|
|
12/22/2013, 11:30
|
#8
|
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.
|
|
|
|
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.
|
|