Jump to content

Search the Community

Showing results for tags 'a work in progress.'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. A very rough script which needs more work on the time roll over, but I noticed that stringformat prints odd characters sometimes, Run("notepad.exe") $hWnd = WinWaitActive("[CLASS:Notepad]") $hrs = 0 $mins = 0 $secs = 0 $StartCount = 0 For $iCount = 1 To 120 ControlSend($hWnd, "", "Edit1", StringFormat("%02i", $iCount)) ControlSend($hWnd, "", "Edit1", "{ENTER}") ;Sends 00:00:00:000 ---> 00:00:01:000 ControlSend($hWnd, "", "Edit1", StringFormat("%02i:%02i:%02i:%03i", $hrs, $mins, $secs, 000)) ControlSend($hWnd, "", "Edit1"," ---> " &StringFormat("%02i:%02i:%02i:%03i", $hrs, $mins, $secs+1, 000)) ControlSend($hWnd, "", "Edit1", "{ENTER}") ControlSend($hWnd, "", "Edit1", StringFormat("%02i:%02i", $mins, $secs)) ControlSend($hWnd, "", "Edit1", "{ENTER}") ControlSend($hWnd, "", "Edit1", "{ENTER}") $StartCount += 1 $secs += 1 if $secs > 59 then $secs = 0 $mins = $secs/60 EndIf If $mins > 59 then $secs = 0 $mins = $secs/60 $hrs = $mins/60 EndIf Next ControlSend($hWnd, "", "Edit1", "Finished!") #cs 1 00:00:00,000 --> 00:00:01,000 1:00:00 #ce
×
×
  • Create New...