Jump to content

Banging my head here......


Bert
 Share

Recommended Posts

: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

Link to comment
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.

Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...