Posts: 45
Threads: 15
Joined: Jul 2006
Hello i have made a dialog with a few buttons but one of the buttons i have made is a shooting button for a game that i want to have running all the time when i push that button it works but when i want to stop it i have to pause/break before i can use anyother buttons i want to know how to put a timer in so that button runs for 3 minutes once its pushed then stop so i can continue with out closing the whole thing..i hope someone can understand what i need and help me out
Posts: 1,769
Threads: 410
Joined: Feb 2003
well, if you didnt want to rewrite the code to time it you could do it this way.
make that macro a function.
make another function that waits 3 min and then ends that function.
call the second function when you start the first and youre all set.
Posts: 45
Threads: 15
Joined: Jul 2006
Hi umm that sounds a bit to do i was reading in the help something about set timer can this be added to the code in that case so it runs for 3 minutes? then stops so i can continue using other buttons in my dialog? if so can you please show me in an example how this would be done
....kinda new to all this but trying hard to learn :oops: ..