Jump to content

Recommended Posts

Posted

I have a problem please help solve

Next I want the code of the program

If

explorer.exe

Working memory in

The program displays a message, and do not complete the rest of the orders

But using

The

Function

#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("test", 615, 438, 192, 124)
$Button1 = GUICtrlCreateButton("test", 200, 152, 177, 73)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
        case    $Button1
            test()
    EndSwitch
WEnd

Func test()
    if ProcessExists ('explorer.exe') Then
        MsgBox(0,'error','error1')
    ContinueLoop
    endif
    EndFunc

thx

  • Developers
Posted (edited)

ContinueLoop does what is means: It continues a loop from the start and cannot be used in isolation in a Func.

Look at the Helpfile for some examples.

Jos

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 (edited)

I do not want the implementation of the program after displaying the message Matanh

But in the context of

Alvankhn

And any way possible to do so by

Edited by himoscriptsd

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...