drakonis Posted June 6, 2009 Posted June 6, 2009 so yeah i have an 'if ... then...' function. i need it to set off a loud audio alarm. is there such function? can some1 show meh please
trancexx Posted June 6, 2009 Posted June 6, 2009 so yeah i have an 'if ... then...' function. i need it to set off a loud audio alarm. is there such function? can some1 show meh please Funny that you ask... There is just that: Global $a = Random(1, 102, 1) If $a = 2^7 - 25 Then SetOffAudioAlarm(500, 36) EndIf You need 3.3.1.23 (gamma) ♡♡♡ . eMyvnE
Mat Posted June 6, 2009 Posted June 6, 2009 Why did you make a new thread??You could use a beep, or make a song out of beeps!MDiesel AutoIt Project Listing
drakonis Posted June 6, 2009 Author Posted June 6, 2009 Funny that you ask... There is just that: Global $a = Random(1, 102, 1) If $a = 2^7 - 25 Then SetOffAudioAlarm(500, 36) EndIf You need 3.3.1.23 (gamma) ok i check out that function but it seems i cant get it to work properly as i desired. is i possible to maybe lunch an .mp3 file instead of build in alarm?
trancexx Posted June 6, 2009 Posted June 6, 2009 ok i check out that function but it seems i cant get it to work properly as i desired. is i possible to maybe lunch an .mp3 file instead of build in alarm?Hardly.Try other suggestion or something else. ♡♡♡ . eMyvnE
drakonis Posted June 6, 2009 Author Posted June 6, 2009 Hardly.Try other suggestion or something else.ok is it possible for autoit scripts to run .exe files? i could simply convert mp3 to exe so it could be run hat way
Mat Posted June 6, 2009 Posted June 6, 2009 (edited) well i couldnt find autoit gamma version. thats prolly why it doesnt work ;p.hmm, Im sure I saw it somewhere....Also look at sound functions, _SoundPlay etc. Then you can play tour own tune. All those functions are pretty easy to use too.MDieselEdit: don't bother with the exe thing. but yes it is, use run ($sExe). I shouldn't be telling you this, you should do some research Edited June 6, 2009 by mdiesel AutoIt Project Listing
drakonis Posted June 6, 2009 Author Posted June 6, 2009 (edited) hmm, Im sure I saw it somewhere....Also look at sound functions, _SoundPlay etc. Then you can play tour own tune. All those functions are pretty easy to use too.MDieselyeah but im really a begginer and so far i can hardly edit others scripts not mentioning writing my own ;p. sould play function u say. im looking for something that will take least memory as possible..about exe. why i shouldnt bother Edited June 6, 2009 by drakonis
Mat Posted June 6, 2009 Posted June 6, 2009 See here. its dead easy._SoundPlay.htmand don't ask stupid questions. The best way to learn is to challange yourself, keep trying till you get it to work, and you will have learned the ape way, learn by logic and you'll be a bit more human. either way, you've learnt. MDiesel AutoIt Project Listing
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now