Jump to content

Is there an audio alarm function in response on IF?


Recommended Posts

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?
Link to comment
Share on other sites

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.

MDiesel

Edit: 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 by mdiesel
Link to comment
Share on other sites

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.

MDiesel

yeah 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 by drakonis
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...