Progress line

  • halli hallo,
    Meine frage Heute:
    Also da soll so eine Progress line sein die sich so lange füllt bis das Programm gelanden ist :
    Also i.wie mit Winwaitaktive oda so=??

    [autoit]

    #include <ButtonConstants.au3>
    #include <GUIConstantsEx.au3>
    #include <ProgressConstants.au3>
    #include <WindowsConstants.au3>
    #Region ### START Koda GUI section ### Form=
    $Form1 = GUICreate("Form1", 625, 445, 192, 124)
    $Button1 = GUICtrlCreateButton("Button1", 192, 104, 75, 25, $WS_GROUP)
    $Progress1 = GUICtrlCreateProgress(136, 216, 150, 17)
    GUISetState(@SW_SHOW)
    #EndRegion ### END Koda GUI section ###

    [/autoit][autoit][/autoit][autoit]

    While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
    Exit
    case $Button1
    run("C:\adobe photshop cs4\PhotoshopCS4.exe")

    [/autoit][autoit][/autoit][autoit]

    EndSwitch
    WEnd

    [/autoit]
    • Offizieller Beitrag

    Wird so gar nicht funktionieren. Woher soll dein Script Wissen in wie Weit das Programm schon ausgeführt ist (wird).