Bert Posted December 23, 2005 Posted December 23, 2005 ouch!!!! ouch!!!! ouch!!!! ouch!!!! ouch!!!! ouch!!!!This one is driving me crazy, and giving me a headache. As you can surmise from my recent postings, I've been working with timers. I have almost finished this project, with assistance from many wonderful people here in the AutoIt Forums. I have one last bug however, that is driving me crazy, and I can't figure it out. The program is a set of timers that has 5 tabs to it, displaying 128 timers, and one special timer. The special timer is what is causing me the problem. On post 19376, Valuater gave me some wonderful code that I wanted to use in my script. If I run his script by itself, it works great. When I plugged it in to my script, the timer will not start. The background of the timer will change from red to green, but it will not go active.Lines of code that reference the reminder timer are:32 - 36,309 - 320,339 - 348,595 - 616,860 - 865I know the script is large, but I bet it is something silly I'm not seeing, or my has burned out. If someone could look to see what is causing the problem, I would be very thankful The Vollatran project My blog: http://www.vollysinterestingshit.com/
jpm Posted December 23, 2005 Posted December 23, 2005 When you start the special timer you update the header of the first tab so I don't know where but yoy use the wrong controlid to update the special timer
jpm Posted December 23, 2005 Posted December 23, 2005 change line 604 to If $sTime1 <> $Time1 Then GUICtrlSetData($Label_4, $Time1) Merry Christmas
Bert Posted December 23, 2005 Author Posted December 23, 2005 Tried that already. didn't work The Vollatran project My blog: http://www.vollysinterestingshit.com/
Bert Posted December 23, 2005 Author Posted December 23, 2005 I tried this, and I think its working. I replaced If $sTime1 <> $Time1 Then ControlSetText($Label_4, "", "Static1", $Time1) with If $sTime1 <> $Time1 Then GUICtrlSetData($Label_4, $Time1) The clock is now running. I'm going to put it through a 2 hour test to see if I get the alert messages. The Vollatran project My blog: http://www.vollysinterestingshit.com/
jpm Posted December 23, 2005 Posted December 23, 2005 I tried this, and I think its working. I replaced If $sTime1 <> $Time1 Then ControlSetText($Label_4, "", "Static1", $Time1) with If $sTime1 <> $Time1 Then GUICtrlSetData($Label_4, $Time1) The clock is now running. I'm going to put it through a 2 hour test to see if I get the alert messages.I don't seethe difference with what I propose. But if your are happy, I am too
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now