Jump to content
Sign in to follow this  
himoscriptsd

ContinueLoop error

Recommended Posts

himoscriptsd

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

Share this post


Link to post
Share on other sites
himoscriptsd

More precisely,

I want to stop the program when you view the message and then ordered to start, should he leave, but orders from the beginning introduced

Forums Home

Share this post


Link to post
Share on other sites
Jos

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

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
himoscriptsd

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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.