Jump to content

Search the Community

Showing results for tags 'Script Times out or Crashes'.

  • 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

Categories

  • Forum FAQ
  • AutoIt

Calendars

  • Community Calendar

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. Hi, I am trying to make a project and have left this unattended and for whatever reason when I come back it stops. Is it related to may be this...and if so how do I go about fixing it please. https://www.autoitscript.com/wiki/Recursion #include <Misc.au3> #include <Date.au3> #Include <Timers.au3> #include <ScreenCapture.au3> AdlibRegister("_Pic", 5000) ; How often to capture Global $Folder_Name = @ScriptDir & "\Pics\" & @MON & "-" & @MDAY & "-" & @YEAR _Singleton(@ScriptName) While 1 Sleep(1000) WEnd Func _Pic() If _Timer_GetIdleTime() > 3000 Then ; How long pc has been inactive ;;; Else If Not FileExists($Folder_Name) Then DirCreate($Folder_Name) EndIf $Time = _NowTime() $Time_Split = StringSplit($Time , ":") $Gen = @MON & "-" & @MDAY & "-" & @YEAR & " (" & $Time_Split[1] & "-" & $Time_Split[2] & "-" & $Time_Split[3] & ")" _ScreenCapture_Capture($Folder_Name & "\" & $Gen & ".jpg") EndIf EndFunc
×
×
  • Create New...