Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Button in Dialog
#1
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
#2
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.
An old blog on QM coding and automation.

The Macro Hook
#3
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 Smile ....kinda new to all this but trying hard to learn :oops: ..


Forum Jump:


Users browsing this thread: 1 Guest(s)