Jump to content

Search the Community

Showing results for tags 'GUI Closing'.

  • 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. Can someone point out where I can stuck my $GUI_EVENT_CLOSE in without the GUI closing straight away ? $filefolder = 'd:\temp' $fileextension = '*.eml' Global $Label = 0, $lastlabel = "" $Gui = GUICreate("Web-DMZ Count", 200, 50) GUISetBkColor(0xFFFF00) GUISetState() $Label = GUICtrlCreateLabel("Jobs: 0", 20, 20) If $GUI_EVENT_CLOSE Then Exit EndIf While 1 $FileList = _FileListToArray($filefolder, $fileextension);only list files with given extension If $FileList <> 0 Then If $FileList[0] <> $lastlabel Then GUICtrlSetData($Label, "Jobs: " & $FileList[0]) $lastlabel = $FileList[0] EndIf Else If $lastlabel <> 0 Then GUICtrlSetData($Label, "Clear") $lastlabel = 0 Else EndIf EndIf WEnd
×
×
  • Create New...