setting focus on random open apps, with and inverval
Posted on 2003-11-08
I need help on getting my program to randomly (or in order, in order according to the alt+tab menu) set focus on programs open that are shown in the taskbar. I'm trying to get it to randomly set focus on a different application every 5 minutes or so. Could that be possible, if so, could one help me out with it?
I have a check box next to this option, along 2 two others, and a start button. When I check check2, i want it to run whats under the check2 command. So, this is what I have planned:
Put the code in a Timer2, then under the start commandbutton:
If Check2.Value = 1 Then
Timer2.Enabled = True
Timer2.Interval = (what is the interval? in seconds?)
Else: Timer2.Enabled = False
Any help would be greatly appriciated!