Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
a timer that doesn't alt tab?
#1
I'm looking for a timer that just plays a sound 15 seconds before 5 minutes when pressing a hot key. Also have a hot key to cancel the timer in case something goes wrong.
#2
Read this

blue dragon and baron set also keys and make them function:
Dragon Macro:
SendMessage hpb PBM_SETRANGE 0 max<<16|min
if(!ShowDialog("dialog_with_progress" &dialog_with_progress)) ret

Baron macro:
SendMessage hpb PBM_SETRANGE 0 max<<16|min
if(!ShowDialog("dialog_with_progress2" &dialog_with_progress2)) ret

Bluebuff macrpo:
SendMessage hpb PBM_SETRANGE 0 max<<16|min
if(!ShowDialog("dialog_with_progress3" &dialog_with_progress3)) ret

For staring the times:
Dragon:
spe 0
int w=win("Dragon Timer" "#32770")
lef 37 15 id(4 w) 5 ;;trykknap 'Start'

Baron:
spe 0
int w=win("Baron Timer" "#32770")
lef 37 15 id(4 w) 5 ;;trykknap 'Start'

BlueBuff:
spe 0
int w=win("Blue Buff Timer" "#32770")
lef 37 15 id(4 w) 5 ;;trykknap 'Start'

I'm working on this project and I am having some difficulties. I was wondering if you may have run into the same problem in making a macro not alt tab and not have all the visuals?
#3
not sure exactly what your trying to do posting more of your code would help
instead of using
lef 37 15 id(4 w) 5 ;;trykknap 'Start'
try
Dragon:
int w=win("Dragon Timer" "#32770")
but+ id(4 w);;trykknap 'Start'

Baron:
int w=win("Baron Timer" "#32770")
but+ id(4 w);;trykknap 'Start'

BlueBuff:
int w=win("Blue Buff Timer" "#32770")
but+ id(4 w);;trykknap 'Start'

clicks without using the mouse since you have the window handle doesn't need to switch windows to it to do this.
#4
Thank you for your expertise on the subject.

if you were still wondering what I was aiming for, I was aiming for a zero HUD design , that triggered only from a hot key. Aka like an invisible clock activated by a hot key that beeps at 12:00. But I'm happy with this for now.
#5
timers are easy to do in dialogs there are many posts in the forum on how to create dialog timers in the forum.

once you have that part the beeping at certain times is not difficult at all


Forum Jump:


Users browsing this thread: 1 Guest(s)