Jump to content

Recommended Posts

Posted (edited)

Hello,

I have the following script and I want to show the date and time refreshed each second in the gui.

I tried with:

Do
    GUICtrlSetData($datasiora,_Now())

Until $denumire ="dfdsfjhg4r43"

In the while loop but after that the buttons don't work anymore.

 

How I can update $datasiora to have the date and hour each time refreshed in the gui?

Can you help me please?

 

 

 

 

 

Edited by rony2006
private code and img used
Posted

Maybe what you could try is creating 1 new variable: t1.  Try initially setting t1 to @Sec macro.  Then just create a loop where if t1 <> @Sec, then update date control.  You think that would work for you?

Posted

The problem is that I don't know were to put the loop.

Because I tried with a loop and the date was updating but the buttons and exit button was not working anymore.

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
  • Recently Browsing   0 members

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