Sign in to follow this  
Followers 0
Bert

Banging my head here......

6 posts in this topic

:P ouch!!!! :lmao: ouch!!!! :( ouch!!!! :) ouch!!!! :) ouch!!!! :lmao: 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 - 865

I know the script is large, but I bet it is something silly I'm not seeing, or my :king: has burned out. If someone could look to see what is causing the problem, I would be very thankful

Share this post


Link to post
Share on other sites



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 :P

Share this post


Link to post
Share on other sites

change line 604 to

If $sTime1 <> $Time1 Then GUICtrlSetData($Label_4, $Time1)

Merry Christmas :P

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 :lmao::P

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0