Jump to content

Recommended Posts

Posted

Hey guys,

I would like to create a simple Timer which starts counting down if a key is pressed and after running out of time making a sound. Afterwards it should reset and wait again for the same key to be pressed to start again.

 

I am new to autoit and really don't know how to get started...

How I would try to do it:

while(1)

WEnd

HotKeySet("{F9}", "_Timer")

Func _Timer()
    ;FUNCTION HERE but I don't know what to do there :&
EndFunc

Best regards and thanks in advance

 

JR

  • Moderators
Posted

@jannikrendl if you do a forum search you will find a number of topics on Stopwatches/Timers. Here are but a few - many have both capabilities - that should give you some ideas:

 

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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
×
×
  • Create New...