Jump to content

Recommended Posts

Posted

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 :D

Posted

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 :D

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

Posted

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?
Posted

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

Posted

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

Posted (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.

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
Posted (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.

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
Posted

See here. its dead easy.

_SoundPlay.htm

and 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

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
  • Recently Browsing   0 members

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