Jump to content

Recommended Posts

Posted

AdlibRegister("Clock", 1000)

HotKeySet("{esc}", "exit1")

$seconds = 240

GUICreate("Timer", 181, 50)
GUISetBkColor(0x000000)
GUICtrlCreateLabel("00:00:00", 10, 0, 200, 70)
GUICtrlSetFont ( -1, 30, 800 )
GUICtrlSetBkColor(-1, 0x000000)
GUICtrlSetColor(-1, 0xFFFFFF)
GUISetState (@SW_SHOW)

run("notepad.exe")


While True


          $minutes      = Mod($seconds/60, 60)
          $hours          = $seconds/3600
          $display        = StringFormat("%02i:%02i:%02i", $hours, $minutes, Mod($seconds, 60))
          WinSetOnTop("Timer", "", 1)

     WEnd

Func clock()

      If $seconds >  0 Then
          $seconds -= 1
   EndIf
    GUICtrlSetData(-1,  $display)
EndFunc

Func exit1()
      exit
EndFunc

 

  • Developers
Posted (edited)

And this all is ofcourse totally different than your previous thread which I closed since you solved it and never gave any clear answer?

EVERYBODY ELSE: PLEASE STAY OUT FOR NOW!

Anwers given are hidden for now and will return when we clear the thread.

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

I don't know how to publish the solution to:
Disappearing countdown timer in OpenGL.
I will post my answer here.

of course jos. an apology to everyone.
The problem was in the programs that use OpenGL, we only changed OpenGL for another and the graphics cards that only use OpenGL, I only changed it for another more current one.
With that I solved the problem.

  • Jos locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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