Problem mit kleinem Skript mit 2 verschiedenen GUIs

  • Hallo,
    ich habe ein kleines Testskript geschrieben, das covers von southpark staffeln auf amazon.com downloaded und dann in einer gui darstellt.
    Dieses Skript soll erscheinen wenn man in der Main Gui den CoverViewer startet. Das funktioniert soweit sogut, nur wenn ich die Coverview gui durch den $backbatten (oben rechts in der gui2) wieder schließe, dann kann ich auf der Haupt Gui nix mehr drücken...
    Hier dann noch das Skript:

    Spoiler anzeigen
    [autoit]

    #NoTrayIcon
    #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
    #AutoIt3Wrapper_UseX64=n
    #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
    #include <ButtonConstants.au3>
    #include <GUIConstantsEx.au3>
    #include <StaticConstants.au3>
    #include <WindowsConstants.au3>

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

    $frmHaupt = GUICreate("Extras", 558, 253, 194, 124)
    $bCovers = GUICtrlCreateButton("covers zu den Staffeln", 0, 0, 145, 49, $WS_GROUP)
    $bBack = GUICtrlCreateButton("back", 472, 216, 81, 33, $WS_GROUP)
    $bConverter = GUICtrlCreateButton("iConverter", 0, 56, 145, 57, $WS_GROUP)
    $bWhat = GUICtrlCreateButton("was ist das?", 144, 88, 73, 25, $WS_GROUP)
    $lMehr = GUICtrlCreateLabel("Mehr kommt noch ;)", 336, 64, 144, 24)
    GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif")
    GUISetState(@SW_SHOW)

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

    While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
    Exit

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

    Case $bCovers
    WinSetTrans($frmHaupt,"hallo","0")
    FileInstall('X:\not.jpg', @ScriptDir & '\not.jpg',1)

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

    #include <ButtonConstants.au3>
    #include <GUIConstantsEx.au3>
    #include <WindowsConstants.au3>
    #Region ### START Koda GUI section ### Form=
    DirCreate(@ScriptDir & "\Covers")
    GUISetState(@SW_SHOW)
    #EndRegion ### END Koda GUI section ###
    #include <ButtonConstants.au3>
    #include <GUIConstantsEx.au3>
    #include <StaticConstants.au3>
    #include <WindowsConstants.au3>
    #Region ### START Koda GUI section ### Form=
    $fCoverloader = GUICreate("Cover Downloader/Viewer", 407, 362, 192, 124)
    $bCOVERviews1 = GUICtrlCreateButton("Staffel 1", 0, 0, 81, 25, $WS_GROUP)
    $bCOVERviews2 = GUICtrlCreateButton("Staffel 2", 0, 24, 81, 25, $WS_GROUP)
    $bCOVERviews3 = GUICtrlCreateButton("Staffel 3", 0, 48, 81, 25, $WS_GROUP)
    $bCOVERviews4 = GUICtrlCreateButton("Staffel 4", 0, 72, 81, 25, $WS_GROUP)
    $bCOVERviews5 = GUICtrlCreateButton("Staffel 5", 0, 96, 81, 25, $WS_GROUP)
    $bCOVERviews6 = GUICtrlCreateButton("Staffel 6", 0, 120, 81, 25, $WS_GROUP)
    $bCOVERviews7 = GUICtrlCreateButton("Staffel 7", 0, 144, 81, 25, $WS_GROUP)
    $bCOVERviews8 = GUICtrlCreateButton("Staffel 8", 0, 168, 81, 25, $WS_GROUP)
    $bCOVERviews9 = GUICtrlCreateButton("Staffel 9", 0, 192, 81, 25, $WS_GROUP)
    $bCOVERviews10 = GUICtrlCreateButton("Staffel 10", 0, 216, 81, 25, $WS_GROUP)
    $bCOVERviews11 = GUICtrlCreateButton("Staffel 11", 0, 240, 81, 25, $WS_GROUP)
    $bCOVERviews12 = GUICtrlCreateButton("Staffel 12", 0, 264, 81, 25, $WS_GROUP)
    $bCOVERviews13 = GUICtrlCreateButton("Staffel 13", 0, 288, 81, 25, $WS_GROUP)
    $bCOVERviews14 = GUICtrlCreateButton("Staffel 14", 0, 312, 81, 25, $WS_GROUP)
    $bCOVERviewsAll = GUICtrlCreateButton("Alle Covers", 0, 336, 81, 25, $WS_GROUP)
    $backbatten = GUICtrlCreateButton(">", 376, 0, 33, 25, $WS_GROUP)
    $pNOT = GUICtrlCreatePic("not.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    GUICtrlSetState(-1, $GUI_HIDE)
    $pS1 = GUICtrlCreatePic(".\Covers\S01.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    GUICtrlSetState(-1, $GUI_HIDE)
    $pS2 = GUICtrlCreatePic(".\Covers\S02.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    GUICtrlSetState(-1, $GUI_HIDE)
    $pS3 = GUICtrlCreatePic(".\Covers\S03.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    GUICtrlSetState(-1, $GUI_HIDE)
    $pS4 = GUICtrlCreatePic(".\Covers\S04.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    GUICtrlSetState(-1, $GUI_HIDE)
    $pS5 = GUICtrlCreatePic(".\Covers\S05.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    GUICtrlSetState(-1, $GUI_HIDE)
    $pS6 = GUICtrlCreatePic(".\Covers\S06.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    GUICtrlSetState(-1, $GUI_HIDE)
    $pS7 = GUICtrlCreatePic(".\Covers\S07.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    GUICtrlSetState(-1, $GUI_HIDE)
    $pS8 = GUICtrlCreatePic(".\Covers\S08.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    GUICtrlSetState(-1, $GUI_HIDE)
    $pS9 = GUICtrlCreatePic(".\Covers\S09.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    GUICtrlSetState(-1, $GUI_HIDE)
    $pS10 = GUICtrlCreatePic(".\Covers\S10.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    GUICtrlSetState(-1, $GUI_HIDE)
    $pS11 = GUICtrlCreatePic(".\Covers\S11.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    GUICtrlSetState(-1, $GUI_HIDE)
    $pS12 = GUICtrlCreatePic(".\Covers\S12.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    GUICtrlSetState(-1, $GUI_HIDE)
    $pS13 = GUICtrlCreatePic(".\Covers\S13.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    GUICtrlSetState(-1, $GUI_HIDE)
    $pS14 = GUICtrlCreatePic(".\Covers\S14.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    GUICtrlSetState(-1, $GUI_HIDE)
    $bCOVERs1 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    GUICtrlSetState(-1, $GUI_HIDE)
    $bCOVERs2 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    GUICtrlSetState(-1, $GUI_HIDE)
    $bCOVERs3 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    GUICtrlSetState(-1, $GUI_HIDE)
    $bCOVERs4 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    GUICtrlSetState(-1, $GUI_HIDE)
    $bCOVERs5 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    GUICtrlSetState(-1, $GUI_HIDE)
    $bCOVERs6 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    GUICtrlSetState(-1, $GUI_HIDE)
    $bCOVERs7 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    GUICtrlSetState(-1, $GUI_HIDE)
    $bCOVERs8 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    GUICtrlSetState(-1, $GUI_HIDE)
    $bCOVERs9 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    GUICtrlSetState(-1, $GUI_HIDE)
    $bCOVERs10 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    GUICtrlSetState(-1, $GUI_HIDE)
    $bCOVERs11 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    GUICtrlSetState(-1, $GUI_HIDE)
    $bCOVERs12 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    GUICtrlSetState(-1, $GUI_HIDE)
    $bCOVERs13 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    GUICtrlSetState(-1, $GUI_HIDE)
    $bCOVERs14 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    GUICtrlSetState(-1, $GUI_HIDE)
    $bCOVERAll = GUICtrlCreateButton("downloade Alle Covers", 136, 296, 201, 41, $WS_GROUP)
    GUICtrlSetState(-1, $GUI_HIDE)
    $bCOVERopen = GUICtrlCreateButton("öffne Verzeichnis aller Folgen", 136, 296, 201, 41, $WS_GROUP)
    GUICtrlSetState(-1, $GUI_HIDE)
    GUISetState(@SW_SHOW)
    #EndRegion ### END Koda GUI section ###

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

    While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
    Exit
    Case $backbatten
    WinSetTrans($frmHaupt,"hallo","255")
    GUIDelete ()
    Case $bCOVERviews1
    GUICtrlSetState($pNOT, $GUI_HIDE)
    GUICtrlSetState($bCOVERviews1, $GUI_Disable)
    GUICtrlSetState($bCOVERviews2, $GUI_Enable)
    GUICtrlSetState($bCOVERviews3, $GUI_Enable)
    GUICtrlSetState($bCOVERviews4, $GUI_Enable)
    GUICtrlSetState($bCOVERviews5, $GUI_Enable)
    GUICtrlSetState($bCOVERviews6, $GUI_Enable)
    GUICtrlSetState($bCOVERviews7, $GUI_Enable)
    GUICtrlSetState($bCOVERviews8, $GUI_Enable)
    GUICtrlSetState($bCOVERviews9, $GUI_Enable)
    GUICtrlSetState($bCOVERviews10, $GUI_Enable)
    GUICtrlSetState($bCOVERviews11, $GUI_Enable)
    GUICtrlSetState($bCOVERviews12, $GUI_Enable)
    GUICtrlSetState($bCOVERviews13, $GUI_Enable)
    GUICtrlSetState($bCOVERviews14, $GUI_Enable)
    GUICtrlSetState($bCOVERviewsAll, $GUI_Enable)
    GUICtrlSetState($bCOVERopen, $GUI_HIDE)
    GUICtrlSetState($pS2, $GUI_HIDE)
    GUICtrlSetState($pS3, $GUI_HIDE)
    GUICtrlSetState($pS4, $GUI_HIDE)
    GUICtrlSetState($pS5, $GUI_HIDE)
    GUICtrlSetState($pS6, $GUI_HIDE)
    GUICtrlSetState($pS7, $GUI_HIDE)
    GUICtrlSetState($pS8, $GUI_HIDE)
    GUICtrlSetState($pS9, $GUI_HIDE)
    GUICtrlSetState($pS10, $GUI_HIDE)
    GUICtrlSetState($pS11, $GUI_HIDE)
    GUICtrlSetState($pS12, $GUI_HIDE)
    GUICtrlSetState($pS13, $GUI_HIDE)
    GUICtrlSetState($pS14, $GUI_HIDE)
    GUICtrlSetState($bCOVERs2, $GUI_HIDE)
    GUICtrlSetState($bCOVERs3, $GUI_HIDE)
    GUICtrlSetState($bCOVERs4, $GUI_HIDE)
    GUICtrlSetState($bCOVERs5, $GUI_HIDE)
    GUICtrlSetState($bCOVERs6, $GUI_HIDE)
    GUICtrlSetState($bCOVERs7, $GUI_HIDE)
    GUICtrlSetState($bCOVERs8, $GUI_HIDE)
    GUICtrlSetState($bCOVERs9, $GUI_HIDE)
    GUICtrlSetState($bCOVERs10, $GUI_HIDE)
    GUICtrlSetState($bCOVERs11, $GUI_HIDE)
    GUICtrlSetState($bCOVERs12, $GUI_HIDE)
    GUICtrlSetState($bCOVERs13, $GUI_HIDE)
    GUICtrlSetState($bCOVERs14, $GUI_HIDE)
    GUICtrlSetState($bCOVERAll, $GUI_HIDE)

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

    If FileExists (".\Covers\S01.jpg") Then
    $pS1 = GUICtrlCreatePic(".\Covers\S01.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    Else
    $pNOT = GUICtrlCreatePic("not.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    $bCOVERs1 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    EndIf

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

    Case $bCOVERviews2
    GUICtrlSetState($pNOT, $GUI_HIDE)
    GUICtrlSetState($bCOVERviews1, $GUI_Enable)
    GUICtrlSetState($bCOVERviews2, $GUI_Disable)
    GUICtrlSetState($bCOVERviews3, $GUI_Enable)
    GUICtrlSetState($bCOVERviews4, $GUI_Enable)
    GUICtrlSetState($bCOVERviews5, $GUI_Enable)
    GUICtrlSetState($bCOVERviews6, $GUI_Enable)
    GUICtrlSetState($bCOVERviews7, $GUI_Enable)
    GUICtrlSetState($bCOVERviews8, $GUI_Enable)
    GUICtrlSetState($bCOVERviews9, $GUI_Enable)
    GUICtrlSetState($bCOVERviews10, $GUI_Enable)
    GUICtrlSetState($bCOVERviews11, $GUI_Enable)
    GUICtrlSetState($bCOVERviews12, $GUI_Enable)
    GUICtrlSetState($bCOVERviews13, $GUI_Enable)
    GUICtrlSetState($bCOVERviews14, $GUI_Enable)
    GUICtrlSetState($bCOVERviewsAll, $GUI_Enable)
    GUICtrlSetState($bCOVERopen, $GUI_HIDE)
    GUICtrlSetState($pS1, $GUI_HIDE)
    GUICtrlSetState($pS3, $GUI_HIDE)
    GUICtrlSetState($pS4, $GUI_HIDE)
    GUICtrlSetState($pS5, $GUI_HIDE)
    GUICtrlSetState($pS6, $GUI_HIDE)
    GUICtrlSetState($pS7, $GUI_HIDE)
    GUICtrlSetState($pS8, $GUI_HIDE)
    GUICtrlSetState($pS9, $GUI_HIDE)
    GUICtrlSetState($pS10, $GUI_HIDE)
    GUICtrlSetState($pS11, $GUI_HIDE)
    GUICtrlSetState($pS12, $GUI_HIDE)
    GUICtrlSetState($pS13, $GUI_HIDE)
    GUICtrlSetState($pS14, $GUI_HIDE)
    GUICtrlSetState($bCOVERs1, $GUI_HIDE)
    GUICtrlSetState($bCOVERs3, $GUI_HIDE)
    GUICtrlSetState($bCOVERs4, $GUI_HIDE)
    GUICtrlSetState($bCOVERs5, $GUI_HIDE)
    GUICtrlSetState($bCOVERs6, $GUI_HIDE)
    GUICtrlSetState($bCOVERs7, $GUI_HIDE)
    GUICtrlSetState($bCOVERs8, $GUI_HIDE)
    GUICtrlSetState($bCOVERs9, $GUI_HIDE)
    GUICtrlSetState($bCOVERs10, $GUI_HIDE)
    GUICtrlSetState($bCOVERs11, $GUI_HIDE)
    GUICtrlSetState($bCOVERs12, $GUI_HIDE)
    GUICtrlSetState($bCOVERs13, $GUI_HIDE)
    GUICtrlSetState($bCOVERs14, $GUI_HIDE)
    GUICtrlSetState($bCOVERAll, $GUI_HIDE)
    If FileExists (".\Covers\S02.jpg") Then
    $pS2 = GUICtrlCreatePic(".\Covers\S02.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    Else
    $pNOT = GUICtrlCreatePic("not.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    $bCOVERs2 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    EndIf

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

    Case $bCOVERviews3
    GUICtrlSetState($pNOT, $GUI_HIDE)
    GUICtrlSetState($bCOVERviews1, $GUI_Enable)
    GUICtrlSetState($bCOVERviews2, $GUI_Enable)
    GUICtrlSetState($bCOVERviews3, $GUI_Disable)
    GUICtrlSetState($bCOVERviews4, $GUI_Enable)
    GUICtrlSetState($bCOVERviews5, $GUI_Enable)
    GUICtrlSetState($bCOVERviews6, $GUI_Enable)
    GUICtrlSetState($bCOVERviews7, $GUI_Enable)
    GUICtrlSetState($bCOVERviews8, $GUI_Enable)
    GUICtrlSetState($bCOVERviews9, $GUI_Enable)
    GUICtrlSetState($bCOVERviews10, $GUI_Enable)
    GUICtrlSetState($bCOVERviews11, $GUI_Enable)
    GUICtrlSetState($bCOVERviews12, $GUI_Enable)
    GUICtrlSetState($bCOVERviews13, $GUI_Enable)
    GUICtrlSetState($bCOVERviews14, $GUI_Enable)
    GUICtrlSetState($bCOVERviewsAll, $GUI_Enable)
    GUICtrlSetState($bCOVERopen, $GUI_HIDE)
    GUICtrlSetState($pS1, $GUI_HIDE)
    GUICtrlSetState($pS2, $GUI_HIDE)
    GUICtrlSetState($pS4, $GUI_HIDE)
    GUICtrlSetState($pS5, $GUI_HIDE)
    GUICtrlSetState($pS6, $GUI_HIDE)
    GUICtrlSetState($pS7, $GUI_HIDE)
    GUICtrlSetState($pS8, $GUI_HIDE)
    GUICtrlSetState($pS9, $GUI_HIDE)
    GUICtrlSetState($pS10, $GUI_HIDE)
    GUICtrlSetState($pS11, $GUI_HIDE)
    GUICtrlSetState($pS12, $GUI_HIDE)
    GUICtrlSetState($pS13, $GUI_HIDE)
    GUICtrlSetState($pS14, $GUI_HIDE)
    GUICtrlSetState($bCOVERs1, $GUI_HIDE)
    GUICtrlSetState($bCOVERs2, $GUI_HIDE)
    GUICtrlSetState($bCOVERs4, $GUI_HIDE)
    GUICtrlSetState($bCOVERs5, $GUI_HIDE)
    GUICtrlSetState($bCOVERs6, $GUI_HIDE)
    GUICtrlSetState($bCOVERs7, $GUI_HIDE)
    GUICtrlSetState($bCOVERs8, $GUI_HIDE)
    GUICtrlSetState($bCOVERs9, $GUI_HIDE)
    GUICtrlSetState($bCOVERs10, $GUI_HIDE)
    GUICtrlSetState($bCOVERs11, $GUI_HIDE)
    GUICtrlSetState($bCOVERs12, $GUI_HIDE)
    GUICtrlSetState($bCOVERs13, $GUI_HIDE)
    GUICtrlSetState($bCOVERs14, $GUI_HIDE)
    GUICtrlSetState($bCOVERAll, $GUI_HIDE)
    If FileExists (".\Covers\S03.jpg") Then
    $pS3 = GUICtrlCreatePic(".\Covers\S03.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    Else
    $pNOT = GUICtrlCreatePic("not.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    $bCOVERs3 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    EndIf

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

    Case $bCOVERviews4
    GUICtrlSetState($pNOT, $GUI_HIDE)
    GUICtrlSetState($bCOVERviews1, $GUI_Enable)
    GUICtrlSetState($bCOVERviews2, $GUI_Enable)
    GUICtrlSetState($bCOVERviews3, $GUI_Enable)
    GUICtrlSetState($bCOVERviews4, $GUI_Disable)
    GUICtrlSetState($bCOVERviews5, $GUI_Enable)
    GUICtrlSetState($bCOVERviews6, $GUI_Enable)
    GUICtrlSetState($bCOVERviews7, $GUI_Enable)
    GUICtrlSetState($bCOVERviews8, $GUI_Enable)
    GUICtrlSetState($bCOVERviews9, $GUI_Enable)
    GUICtrlSetState($bCOVERviews10, $GUI_Enable)
    GUICtrlSetState($bCOVERviews11, $GUI_Enable)
    GUICtrlSetState($bCOVERviews12, $GUI_Enable)
    GUICtrlSetState($bCOVERviews13, $GUI_Enable)
    GUICtrlSetState($bCOVERviews14, $GUI_Enable)
    GUICtrlSetState($bCOVERviewsAll, $GUI_Enable)
    GUICtrlSetState($bCOVERopen, $GUI_HIDE)
    GUICtrlSetState($pS1, $GUI_HIDE)
    GUICtrlSetState($pS2, $GUI_HIDE)
    GUICtrlSetState($pS3, $GUI_HIDE)
    GUICtrlSetState($pS5, $GUI_HIDE)
    GUICtrlSetState($pS6, $GUI_HIDE)
    GUICtrlSetState($pS7, $GUI_HIDE)
    GUICtrlSetState($pS8, $GUI_HIDE)
    GUICtrlSetState($pS9, $GUI_HIDE)
    GUICtrlSetState($pS10, $GUI_HIDE)
    GUICtrlSetState($pS11, $GUI_HIDE)
    GUICtrlSetState($pS12, $GUI_HIDE)
    GUICtrlSetState($pS13, $GUI_HIDE)
    GUICtrlSetState($pS14, $GUI_HIDE)
    GUICtrlSetState($bCOVERs1, $GUI_HIDE)
    GUICtrlSetState($bCOVERs2, $GUI_HIDE)
    GUICtrlSetState($bCOVERs3, $GUI_HIDE)
    GUICtrlSetState($bCOVERs5, $GUI_HIDE)
    GUICtrlSetState($bCOVERs6, $GUI_HIDE)
    GUICtrlSetState($bCOVERs7, $GUI_HIDE)
    GUICtrlSetState($bCOVERs8, $GUI_HIDE)
    GUICtrlSetState($bCOVERs9, $GUI_HIDE)
    GUICtrlSetState($bCOVERs10, $GUI_HIDE)
    GUICtrlSetState($bCOVERs11, $GUI_HIDE)
    GUICtrlSetState($bCOVERs12, $GUI_HIDE)
    GUICtrlSetState($bCOVERs13, $GUI_HIDE)
    GUICtrlSetState($bCOVERs14, $GUI_HIDE)
    GUICtrlSetState($bCOVERAll, $GUI_HIDE)
    If FileExists (".\Covers\S04.jpg") Then
    $pS4 = GUICtrlCreatePic(".\Covers\S04.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    Else
    $pNOT = GUICtrlCreatePic("not.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    $bCOVERs4 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    EndIf

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

    Case $bCOVERviews5
    GUICtrlSetState($pNOT, $GUI_HIDE)
    GUICtrlSetState($bCOVERviews1, $GUI_Enable)
    GUICtrlSetState($bCOVERviews2, $GUI_Enable)
    GUICtrlSetState($bCOVERviews3, $GUI_Enable)
    GUICtrlSetState($bCOVERviews4, $GUI_Enable)
    GUICtrlSetState($bCOVERviews5, $GUI_Disable)
    GUICtrlSetState($bCOVERviews6, $GUI_Enable)
    GUICtrlSetState($bCOVERviews7, $GUI_Enable)
    GUICtrlSetState($bCOVERviews8, $GUI_Enable)
    GUICtrlSetState($bCOVERviews9, $GUI_Enable)
    GUICtrlSetState($bCOVERviews10, $GUI_Enable)
    GUICtrlSetState($bCOVERviews11, $GUI_Enable)
    GUICtrlSetState($bCOVERviews12, $GUI_Enable)
    GUICtrlSetState($bCOVERviews13, $GUI_Enable)
    GUICtrlSetState($bCOVERviews14, $GUI_Enable)
    GUICtrlSetState($bCOVERviewsAll, $GUI_Enable)
    GUICtrlSetState($bCOVERopen, $GUI_HIDE)
    GUICtrlSetState($pS1, $GUI_HIDE)
    GUICtrlSetState($pS2, $GUI_HIDE)
    GUICtrlSetState($pS3, $GUI_HIDE)
    GUICtrlSetState($pS4, $GUI_HIDE)
    GUICtrlSetState($pS6, $GUI_HIDE)
    GUICtrlSetState($pS7, $GUI_HIDE)
    GUICtrlSetState($pS8, $GUI_HIDE)
    GUICtrlSetState($pS9, $GUI_HIDE)
    GUICtrlSetState($pS10, $GUI_HIDE)
    GUICtrlSetState($pS11, $GUI_HIDE)
    GUICtrlSetState($pS12, $GUI_HIDE)
    GUICtrlSetState($pS13, $GUI_HIDE)
    GUICtrlSetState($pS14, $GUI_HIDE)
    GUICtrlSetState($bCOVERs1, $GUI_HIDE)
    GUICtrlSetState($bCOVERs2, $GUI_HIDE)
    GUICtrlSetState($bCOVERs3, $GUI_HIDE)
    GUICtrlSetState($bCOVERs4, $GUI_HIDE)
    GUICtrlSetState($bCOVERs6, $GUI_HIDE)
    GUICtrlSetState($bCOVERs7, $GUI_HIDE)
    GUICtrlSetState($bCOVERs8, $GUI_HIDE)
    GUICtrlSetState($bCOVERs9, $GUI_HIDE)
    GUICtrlSetState($bCOVERs10, $GUI_HIDE)
    GUICtrlSetState($bCOVERs11, $GUI_HIDE)
    GUICtrlSetState($bCOVERs12, $GUI_HIDE)
    GUICtrlSetState($bCOVERs13, $GUI_HIDE)
    GUICtrlSetState($bCOVERs14, $GUI_HIDE)
    GUICtrlSetState($bCOVERAll, $GUI_HIDE)
    If FileExists (".\Covers\S05.jpg") Then
    $pS5 = GUICtrlCreatePic(".\Covers\S05.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    Else
    $pNOT = GUICtrlCreatePic("not.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    $bCOVERs5 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    EndIf

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

    Case $bCOVERviews6
    GUICtrlSetState($pNOT, $GUI_HIDE)
    GUICtrlSetState($bCOVERviews1, $GUI_Enable)
    GUICtrlSetState($bCOVERviews2, $GUI_Enable)
    GUICtrlSetState($bCOVERviews3, $GUI_Enable)
    GUICtrlSetState($bCOVERviews4, $GUI_Enable)
    GUICtrlSetState($bCOVERviews5, $GUI_Enable)
    GUICtrlSetState($bCOVERviews6, $GUI_Disable)
    GUICtrlSetState($bCOVERviews7, $GUI_Enable)
    GUICtrlSetState($bCOVERviews8, $GUI_Enable)
    GUICtrlSetState($bCOVERviews9, $GUI_Enable)
    GUICtrlSetState($bCOVERviews10, $GUI_Enable)
    GUICtrlSetState($bCOVERviews11, $GUI_Enable)
    GUICtrlSetState($bCOVERviews12, $GUI_Enable)
    GUICtrlSetState($bCOVERviews13, $GUI_Enable)
    GUICtrlSetState($bCOVERviews14, $GUI_Enable)
    GUICtrlSetState($bCOVERviewsAll, $GUI_Enable)
    GUICtrlSetState($bCOVERopen, $GUI_HIDE)
    GUICtrlSetState($pS1, $GUI_HIDE)
    GUICtrlSetState($pS2, $GUI_HIDE)
    GUICtrlSetState($pS3, $GUI_HIDE)
    GUICtrlSetState($pS4, $GUI_HIDE)
    GUICtrlSetState($pS5, $GUI_HIDE)
    GUICtrlSetState($pS7, $GUI_HIDE)
    GUICtrlSetState($pS8, $GUI_HIDE)
    GUICtrlSetState($pS9, $GUI_HIDE)
    GUICtrlSetState($pS10, $GUI_HIDE)
    GUICtrlSetState($pS11, $GUI_HIDE)
    GUICtrlSetState($pS12, $GUI_HIDE)
    GUICtrlSetState($pS13, $GUI_HIDE)
    GUICtrlSetState($pS14, $GUI_HIDE)
    GUICtrlSetState($bCOVERs1, $GUI_HIDE)
    GUICtrlSetState($bCOVERs2, $GUI_HIDE)
    GUICtrlSetState($bCOVERs3, $GUI_HIDE)
    GUICtrlSetState($bCOVERs4, $GUI_HIDE)
    GUICtrlSetState($bCOVERs5, $GUI_HIDE)
    GUICtrlSetState($bCOVERs7, $GUI_HIDE)
    GUICtrlSetState($bCOVERs8, $GUI_HIDE)
    GUICtrlSetState($bCOVERs9, $GUI_HIDE)
    GUICtrlSetState($bCOVERs10, $GUI_HIDE)
    GUICtrlSetState($bCOVERs11, $GUI_HIDE)
    GUICtrlSetState($bCOVERs12, $GUI_HIDE)
    GUICtrlSetState($bCOVERs13, $GUI_HIDE)
    GUICtrlSetState($bCOVERs14, $GUI_HIDE)
    GUICtrlSetState($bCOVERAll, $GUI_HIDE)
    If FileExists (".\Covers\S06.jpg") Then
    $pS6 = GUICtrlCreatePic(".\Covers\S06.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    Else
    $pNOT = GUICtrlCreatePic("not.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    $bCOVERs6 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    EndIf

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

    Case $bCOVERviews7
    GUICtrlSetState($pNOT, $GUI_HIDE)
    GUICtrlSetState($bCOVERviews1, $GUI_Enable)
    GUICtrlSetState($bCOVERviews2, $GUI_Enable)
    GUICtrlSetState($bCOVERviews3, $GUI_Enable)
    GUICtrlSetState($bCOVERviews4, $GUI_Enable)
    GUICtrlSetState($bCOVERviews5, $GUI_Enable)
    GUICtrlSetState($bCOVERviews6, $GUI_Enable)
    GUICtrlSetState($bCOVERviews7, $GUI_Disable)
    GUICtrlSetState($bCOVERviews8, $GUI_Enable)
    GUICtrlSetState($bCOVERviews9, $GUI_Enable)
    GUICtrlSetState($bCOVERviews10, $GUI_Enable)
    GUICtrlSetState($bCOVERviews11, $GUI_Enable)
    GUICtrlSetState($bCOVERviews12, $GUI_Enable)
    GUICtrlSetState($bCOVERviews13, $GUI_Enable)
    GUICtrlSetState($bCOVERviews14, $GUI_Enable)
    GUICtrlSetState($bCOVERviewsAll, $GUI_Enable)
    GUICtrlSetState($bCOVERopen, $GUI_HIDE)
    GUICtrlSetState($pS1, $GUI_HIDE)
    GUICtrlSetState($pS2, $GUI_HIDE)
    GUICtrlSetState($pS3, $GUI_HIDE)
    GUICtrlSetState($pS4, $GUI_HIDE)
    GUICtrlSetState($pS5, $GUI_HIDE)
    GUICtrlSetState($pS6, $GUI_HIDE)
    GUICtrlSetState($pS8, $GUI_HIDE)
    GUICtrlSetState($pS9, $GUI_HIDE)
    GUICtrlSetState($pS10, $GUI_HIDE)
    GUICtrlSetState($pS11, $GUI_HIDE)
    GUICtrlSetState($pS12, $GUI_HIDE)
    GUICtrlSetState($pS13, $GUI_HIDE)
    GUICtrlSetState($pS14, $GUI_HIDE)
    GUICtrlSetState($bCOVERs1, $GUI_HIDE)
    GUICtrlSetState($bCOVERs2, $GUI_HIDE)
    GUICtrlSetState($bCOVERs3, $GUI_HIDE)
    GUICtrlSetState($bCOVERs4, $GUI_HIDE)
    GUICtrlSetState($bCOVERs5, $GUI_HIDE)
    GUICtrlSetState($bCOVERs6, $GUI_HIDE)
    GUICtrlSetState($bCOVERs8, $GUI_HIDE)
    GUICtrlSetState($bCOVERs9, $GUI_HIDE)
    GUICtrlSetState($bCOVERs10, $GUI_HIDE)
    GUICtrlSetState($bCOVERs11, $GUI_HIDE)
    GUICtrlSetState($bCOVERs12, $GUI_HIDE)
    GUICtrlSetState($bCOVERs13, $GUI_HIDE)
    GUICtrlSetState($bCOVERs14, $GUI_HIDE)
    GUICtrlSetState($bCOVERAll, $GUI_HIDE)
    If FileExists (".\Covers\S07.jpg") Then
    $pS7 = GUICtrlCreatePic(".\Covers\S07.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    Else
    $pNOT = GUICtrlCreatePic("not.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))

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

    $bCOVERs7 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    EndIf

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

    Case $bCOVERviews8
    GUICtrlSetState($pNOT, $GUI_HIDE)
    GUICtrlSetState($bCOVERviews1, $GUI_Enable)
    GUICtrlSetState($bCOVERviews2, $GUI_Enable)
    GUICtrlSetState($bCOVERviews3, $GUI_Enable)
    GUICtrlSetState($bCOVERviews4, $GUI_Enable)
    GUICtrlSetState($bCOVERviews5, $GUI_Enable)
    GUICtrlSetState($bCOVERviews6, $GUI_Enable)
    GUICtrlSetState($bCOVERviews7, $GUI_Enable)
    GUICtrlSetState($bCOVERviews8, $GUI_Disable)
    GUICtrlSetState($bCOVERviews9, $GUI_Enable)
    GUICtrlSetState($bCOVERviews10, $GUI_Enable)
    GUICtrlSetState($bCOVERviews11, $GUI_Enable)
    GUICtrlSetState($bCOVERviews12, $GUI_Enable)
    GUICtrlSetState($bCOVERviews13, $GUI_Enable)
    GUICtrlSetState($bCOVERviews14, $GUI_Enable)
    GUICtrlSetState($bCOVERviewsAll, $GUI_Enable)
    GUICtrlSetState($bCOVERopen, $GUI_HIDE)
    GUICtrlSetState($pS1, $GUI_HIDE)
    GUICtrlSetState($pS2, $GUI_HIDE)
    GUICtrlSetState($pS3, $GUI_HIDE)
    GUICtrlSetState($pS4, $GUI_HIDE)
    GUICtrlSetState($pS5, $GUI_HIDE)
    GUICtrlSetState($pS6, $GUI_HIDE)
    GUICtrlSetState($pS7, $GUI_HIDE)
    GUICtrlSetState($pS9, $GUI_HIDE)
    GUICtrlSetState($pS10, $GUI_HIDE)
    GUICtrlSetState($pS11, $GUI_HIDE)
    GUICtrlSetState($pS12, $GUI_HIDE)
    GUICtrlSetState($pS13, $GUI_HIDE)
    GUICtrlSetState($pS14, $GUI_HIDE)
    GUICtrlSetState($bCOVERs1, $GUI_HIDE)
    GUICtrlSetState($bCOVERs2, $GUI_HIDE)
    GUICtrlSetState($bCOVERs3, $GUI_HIDE)
    GUICtrlSetState($bCOVERs4, $GUI_HIDE)
    GUICtrlSetState($bCOVERs5, $GUI_HIDE)
    GUICtrlSetState($bCOVERs6, $GUI_HIDE)
    GUICtrlSetState($bCOVERs7, $GUI_HIDE)
    GUICtrlSetState($bCOVERs9, $GUI_HIDE)
    GUICtrlSetState($bCOVERs10, $GUI_HIDE)
    GUICtrlSetState($bCOVERs11, $GUI_HIDE)
    GUICtrlSetState($bCOVERs12, $GUI_HIDE)
    GUICtrlSetState($bCOVERs13, $GUI_HIDE)
    GUICtrlSetState($bCOVERs14, $GUI_HIDE)
    GUICtrlSetState($bCOVERAll, $GUI_HIDE)
    If FileExists (".\Covers\S08.jpg") Then
    $pS8 = GUICtrlCreatePic(".\Covers\S08.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    Else
    $pNOT = GUICtrlCreatePic("not.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    $bCOVERs8 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    EndIf

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

    Case $bCOVERviews9
    GUICtrlSetState($pNOT, $GUI_HIDE)
    GUICtrlSetState($bCOVERviews1, $GUI_Enable)
    GUICtrlSetState($bCOVERviews2, $GUI_Enable)
    GUICtrlSetState($bCOVERviews3, $GUI_Enable)
    GUICtrlSetState($bCOVERviews4, $GUI_Enable)
    GUICtrlSetState($bCOVERviews5, $GUI_Enable)
    GUICtrlSetState($bCOVERviews6, $GUI_Enable)
    GUICtrlSetState($bCOVERviews7, $GUI_Enable)
    GUICtrlSetState($bCOVERviews8, $GUI_Enable)
    GUICtrlSetState($bCOVERviews9, $GUI_Disable)
    GUICtrlSetState($bCOVERviews10, $GUI_Enable)
    GUICtrlSetState($bCOVERviews11, $GUI_Enable)
    GUICtrlSetState($bCOVERviews12, $GUI_Enable)
    GUICtrlSetState($bCOVERviews13, $GUI_Enable)
    GUICtrlSetState($bCOVERviews14, $GUI_Enable)
    GUICtrlSetState($bCOVERviewsAll, $GUI_Enable)
    GUICtrlSetState($bCOVERopen, $GUI_HIDE)
    GUICtrlSetState($pS1, $GUI_HIDE)
    GUICtrlSetState($pS2, $GUI_HIDE)
    GUICtrlSetState($pS3, $GUI_HIDE)
    GUICtrlSetState($pS4, $GUI_HIDE)
    GUICtrlSetState($pS5, $GUI_HIDE)
    GUICtrlSetState($pS6, $GUI_HIDE)
    GUICtrlSetState($pS7, $GUI_HIDE)
    GUICtrlSetState($pS8, $GUI_HIDE)
    GUICtrlSetState($pS10, $GUI_HIDE)
    GUICtrlSetState($pS11, $GUI_HIDE)
    GUICtrlSetState($pS12, $GUI_HIDE)
    GUICtrlSetState($pS13, $GUI_HIDE)
    GUICtrlSetState($pS14, $GUI_HIDE)
    GUICtrlSetState($bCOVERs1, $GUI_HIDE)
    GUICtrlSetState($bCOVERs2, $GUI_HIDE)
    GUICtrlSetState($bCOVERs3, $GUI_HIDE)
    GUICtrlSetState($bCOVERs4, $GUI_HIDE)
    GUICtrlSetState($bCOVERs5, $GUI_HIDE)
    GUICtrlSetState($bCOVERs6, $GUI_HIDE)
    GUICtrlSetState($bCOVERs7, $GUI_HIDE)
    GUICtrlSetState($bCOVERs8, $GUI_HIDE)
    GUICtrlSetState($bCOVERs10, $GUI_HIDE)
    GUICtrlSetState($bCOVERs11, $GUI_HIDE)
    GUICtrlSetState($bCOVERs12, $GUI_HIDE)
    GUICtrlSetState($bCOVERs13, $GUI_HIDE)
    GUICtrlSetState($bCOVERs14, $GUI_HIDE)
    GUICtrlSetState($bCOVERAll, $GUI_HIDE)
    If FileExists (".\Covers\S09.jpg") Then
    $pS9 = GUICtrlCreatePic(".\Covers\S09.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    Else
    $pNOT = GUICtrlCreatePic("not.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    $bCOVERs9 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    EndIf

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

    Case $bCOVERviews10
    GUICtrlSetState($pNOT, $GUI_HIDE)
    GUICtrlSetState($bCOVERviews1, $GUI_Enable)
    GUICtrlSetState($bCOVERviews2, $GUI_Enable)
    GUICtrlSetState($bCOVERviews3, $GUI_Enable)
    GUICtrlSetState($bCOVERviews4, $GUI_Enable)
    GUICtrlSetState($bCOVERviews5, $GUI_Enable)
    GUICtrlSetState($bCOVERviews6, $GUI_Enable)
    GUICtrlSetState($bCOVERviews7, $GUI_Enable)
    GUICtrlSetState($bCOVERviews8, $GUI_Enable)
    GUICtrlSetState($bCOVERviews9, $GUI_Enable)
    GUICtrlSetState($bCOVERviews10, $GUI_Disable)
    GUICtrlSetState($bCOVERviews11, $GUI_Enable)
    GUICtrlSetState($bCOVERviews12, $GUI_Enable)
    GUICtrlSetState($bCOVERviews13, $GUI_Enable)
    GUICtrlSetState($bCOVERviews14, $GUI_Enable)
    GUICtrlSetState($bCOVERviewsAll, $GUI_Enable)
    GUICtrlSetState($bCOVERopen, $GUI_HIDE)
    GUICtrlSetState($pS1, $GUI_HIDE)
    GUICtrlSetState($pS2, $GUI_HIDE)
    GUICtrlSetState($pS3, $GUI_HIDE)
    GUICtrlSetState($pS4, $GUI_HIDE)
    GUICtrlSetState($pS5, $GUI_HIDE)
    GUICtrlSetState($pS6, $GUI_HIDE)
    GUICtrlSetState($pS7, $GUI_HIDE)
    GUICtrlSetState($pS8, $GUI_HIDE)
    GUICtrlSetState($pS9, $GUI_HIDE)
    GUICtrlSetState($pS11, $GUI_HIDE)
    GUICtrlSetState($pS12, $GUI_HIDE)
    GUICtrlSetState($pS13, $GUI_HIDE)
    GUICtrlSetState($pS14, $GUI_HIDE)
    GUICtrlSetState($bCOVERs1, $GUI_HIDE)
    GUICtrlSetState($bCOVERs2, $GUI_HIDE)
    GUICtrlSetState($bCOVERs3, $GUI_HIDE)
    GUICtrlSetState($bCOVERs4, $GUI_HIDE)
    GUICtrlSetState($bCOVERs5, $GUI_HIDE)
    GUICtrlSetState($bCOVERs6, $GUI_HIDE)
    GUICtrlSetState($bCOVERs7, $GUI_HIDE)
    GUICtrlSetState($bCOVERs8, $GUI_HIDE)
    GUICtrlSetState($bCOVERs9, $GUI_HIDE)
    GUICtrlSetState($bCOVERs11, $GUI_HIDE)
    GUICtrlSetState($bCOVERs12, $GUI_HIDE)
    GUICtrlSetState($bCOVERs13, $GUI_HIDE)
    GUICtrlSetState($bCOVERs14, $GUI_HIDE)
    GUICtrlSetState($bCOVERAll, $GUI_HIDE)
    If FileExists (".\Covers\S10.jpg") Then
    $pS10 = GUICtrlCreatePic(".\Covers\S10.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    Else
    $pNOT = GUICtrlCreatePic("not.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    $bCOVERs10 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    EndIf

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

    Case $bCOVERviews11
    GUICtrlSetState($pNOT, $GUI_HIDE)
    GUICtrlSetState($bCOVERviews1, $GUI_Enable)
    GUICtrlSetState($bCOVERviews2, $GUI_Enable)
    GUICtrlSetState($bCOVERviews3, $GUI_Enable)
    GUICtrlSetState($bCOVERviews4, $GUI_Enable)
    GUICtrlSetState($bCOVERviews5, $GUI_Enable)
    GUICtrlSetState($bCOVERviews6, $GUI_Enable)
    GUICtrlSetState($bCOVERviews7, $GUI_Enable)
    GUICtrlSetState($bCOVERviews8, $GUI_Enable)
    GUICtrlSetState($bCOVERviews9, $GUI_Enable)
    GUICtrlSetState($bCOVERviews10, $GUI_Enable)
    GUICtrlSetState($bCOVERviews11, $GUI_Disable)
    GUICtrlSetState($bCOVERviews12, $GUI_Enable)
    GUICtrlSetState($bCOVERviews13, $GUI_Enable)
    GUICtrlSetState($bCOVERviews14, $GUI_Enable)
    GUICtrlSetState($bCOVERviewsAll, $GUI_Enable)
    GUICtrlSetState($bCOVERopen, $GUI_HIDE)
    GUICtrlSetState($pS1, $GUI_HIDE)
    GUICtrlSetState($pS2, $GUI_HIDE)
    GUICtrlSetState($pS3, $GUI_HIDE)
    GUICtrlSetState($pS4, $GUI_HIDE)
    GUICtrlSetState($pS5, $GUI_HIDE)
    GUICtrlSetState($pS6, $GUI_HIDE)
    GUICtrlSetState($pS7, $GUI_HIDE)
    GUICtrlSetState($pS8, $GUI_HIDE)
    GUICtrlSetState($pS9, $GUI_HIDE)
    GUICtrlSetState($pS10, $GUI_HIDE)
    GUICtrlSetState($pS12, $GUI_HIDE)
    GUICtrlSetState($pS13, $GUI_HIDE)
    GUICtrlSetState($pS14, $GUI_HIDE)
    GUICtrlSetState($bCOVERs1, $GUI_HIDE)
    GUICtrlSetState($bCOVERs2, $GUI_HIDE)
    GUICtrlSetState($bCOVERs3, $GUI_HIDE)
    GUICtrlSetState($bCOVERs4, $GUI_HIDE)
    GUICtrlSetState($bCOVERs5, $GUI_HIDE)
    GUICtrlSetState($bCOVERs6, $GUI_HIDE)
    GUICtrlSetState($bCOVERs7, $GUI_HIDE)
    GUICtrlSetState($bCOVERs8, $GUI_HIDE)
    GUICtrlSetState($bCOVERs9, $GUI_HIDE)
    GUICtrlSetState($bCOVERs10, $GUI_HIDE)
    GUICtrlSetState($bCOVERs12, $GUI_HIDE)
    GUICtrlSetState($bCOVERs13, $GUI_HIDE)
    GUICtrlSetState($bCOVERs14, $GUI_HIDE)
    GUICtrlSetState($bCOVERAll, $GUI_HIDE)
    If FileExists (".\Covers\S11.jpg") Then
    $pS11 = GUICtrlCreatePic(".\Covers\S11.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    Else
    $pNOT = GUICtrlCreatePic("not.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    $bCOVERs11 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    EndIf

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

    Case $bCOVERviews12
    GUICtrlSetState($pNOT, $GUI_HIDE)
    GUICtrlSetState($bCOVERviews1, $GUI_Enable)
    GUICtrlSetState($bCOVERviews2, $GUI_Enable)
    GUICtrlSetState($bCOVERviews3, $GUI_Enable)
    GUICtrlSetState($bCOVERviews4, $GUI_Enable)
    GUICtrlSetState($bCOVERviews5, $GUI_Enable)
    GUICtrlSetState($bCOVERviews6, $GUI_Enable)
    GUICtrlSetState($bCOVERviews7, $GUI_Enable)
    GUICtrlSetState($bCOVERviews8, $GUI_Enable)
    GUICtrlSetState($bCOVERviews9, $GUI_Enable)
    GUICtrlSetState($bCOVERviews10, $GUI_Enable)
    GUICtrlSetState($bCOVERviews11, $GUI_Enable)
    GUICtrlSetState($bCOVERviews12, $GUI_Disable)
    GUICtrlSetState($bCOVERviews13, $GUI_Enable)
    GUICtrlSetState($bCOVERviews14, $GUI_Enable)
    GUICtrlSetState($bCOVERviewsAll, $GUI_Enable)
    GUICtrlSetState($bCOVERopen, $GUI_HIDE)
    GUICtrlSetState($pS1, $GUI_HIDE)
    GUICtrlSetState($pS2, $GUI_HIDE)
    GUICtrlSetState($pS3, $GUI_HIDE)
    GUICtrlSetState($pS4, $GUI_HIDE)
    GUICtrlSetState($pS5, $GUI_HIDE)
    GUICtrlSetState($pS6, $GUI_HIDE)
    GUICtrlSetState($pS7, $GUI_HIDE)
    GUICtrlSetState($pS8, $GUI_HIDE)
    GUICtrlSetState($pS9, $GUI_HIDE)
    GUICtrlSetState($pS10, $GUI_HIDE)
    GUICtrlSetState($pS11, $GUI_HIDE)
    GUICtrlSetState($pS13, $GUI_HIDE)
    GUICtrlSetState($pS14, $GUI_HIDE)
    GUICtrlSetState($bCOVERs1, $GUI_HIDE)
    GUICtrlSetState($bCOVERs2, $GUI_HIDE)
    GUICtrlSetState($bCOVERs3, $GUI_HIDE)
    GUICtrlSetState($bCOVERs4, $GUI_HIDE)
    GUICtrlSetState($bCOVERs5, $GUI_HIDE)
    GUICtrlSetState($bCOVERs6, $GUI_HIDE)
    GUICtrlSetState($bCOVERs7, $GUI_HIDE)
    GUICtrlSetState($bCOVERs8, $GUI_HIDE)
    GUICtrlSetState($bCOVERs9, $GUI_HIDE)
    GUICtrlSetState($bCOVERs10, $GUI_HIDE)
    GUICtrlSetState($bCOVERs11, $GUI_HIDE)
    GUICtrlSetState($bCOVERs13, $GUI_HIDE)
    GUICtrlSetState($bCOVERs14, $GUI_HIDE)
    GUICtrlSetState($bCOVERAll, $GUI_HIDE)
    If FileExists (".\Covers\S12.jpg") Then
    $pS12 = GUICtrlCreatePic(".\Covers\S12.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    Else
    $pNOT = GUICtrlCreatePic("not.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    $bCOVERs12 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    EndIf

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

    Case $bCOVERviews13
    GUICtrlSetState($pNOT, $GUI_HIDE)
    GUICtrlSetState($bCOVERviews1, $GUI_Enable)
    GUICtrlSetState($bCOVERviews2, $GUI_Enable)
    GUICtrlSetState($bCOVERviews3, $GUI_Enable)
    GUICtrlSetState($bCOVERviews4, $GUI_Enable)
    GUICtrlSetState($bCOVERviews5, $GUI_Enable)
    GUICtrlSetState($bCOVERviews6, $GUI_Enable)
    GUICtrlSetState($bCOVERviews7, $GUI_Enable)
    GUICtrlSetState($bCOVERviews8, $GUI_Enable)
    GUICtrlSetState($bCOVERviews9, $GUI_Enable)
    GUICtrlSetState($bCOVERviews10, $GUI_Enable)
    GUICtrlSetState($bCOVERviews11, $GUI_Enable)
    GUICtrlSetState($bCOVERviews12, $GUI_Enable)
    GUICtrlSetState($bCOVERviews13, $GUI_Disable)
    GUICtrlSetState($bCOVERviews14, $GUI_Enable)
    GUICtrlSetState($bCOVERviewsAll, $GUI_Enable)
    GUICtrlSetState($bCOVERopen, $GUI_HIDE)
    GUICtrlSetState($pS1, $GUI_HIDE)
    GUICtrlSetState($pS2, $GUI_HIDE)
    GUICtrlSetState($pS3, $GUI_HIDE)
    GUICtrlSetState($pS4, $GUI_HIDE)
    GUICtrlSetState($pS5, $GUI_HIDE)
    GUICtrlSetState($pS6, $GUI_HIDE)
    GUICtrlSetState($pS7, $GUI_HIDE)
    GUICtrlSetState($pS8, $GUI_HIDE)
    GUICtrlSetState($pS9, $GUI_HIDE)
    GUICtrlSetState($pS10, $GUI_HIDE)
    GUICtrlSetState($pS11, $GUI_HIDE)
    GUICtrlSetState($pS12, $GUI_HIDE)
    GUICtrlSetState($pS14, $GUI_HIDE)
    GUICtrlSetState($bCOVERs1, $GUI_HIDE)
    GUICtrlSetState($bCOVERs2, $GUI_HIDE)
    GUICtrlSetState($bCOVERs3, $GUI_HIDE)
    GUICtrlSetState($bCOVERs4, $GUI_HIDE)
    GUICtrlSetState($bCOVERs5, $GUI_HIDE)
    GUICtrlSetState($bCOVERs6, $GUI_HIDE)
    GUICtrlSetState($bCOVERs7, $GUI_HIDE)
    GUICtrlSetState($bCOVERs8, $GUI_HIDE)
    GUICtrlSetState($bCOVERs9, $GUI_HIDE)
    GUICtrlSetState($bCOVERs10, $GUI_HIDE)
    GUICtrlSetState($bCOVERs11, $GUI_HIDE)
    GUICtrlSetState($bCOVERs12, $GUI_HIDE)
    GUICtrlSetState($bCOVERs14, $GUI_HIDE)
    GUICtrlSetState($bCOVERAll, $GUI_HIDE)
    If FileExists (".\Covers\S13.jpg") Then
    $pS13 = GUICtrlCreatePic(".\Covers\S13.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    Else
    $pNOT = GUICtrlCreatePic("not.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    $bCOVERs13 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    EndIf

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

    Case $bCOVERviews14
    GUICtrlSetState($pNOT, $GUI_HIDE)
    GUICtrlSetState($bCOVERviews1, $GUI_Enable)
    GUICtrlSetState($bCOVERviews2, $GUI_Enable)
    GUICtrlSetState($bCOVERviews3, $GUI_Enable)
    GUICtrlSetState($bCOVERviews4, $GUI_Enable)
    GUICtrlSetState($bCOVERviews5, $GUI_Enable)
    GUICtrlSetState($bCOVERviews6, $GUI_Enable)
    GUICtrlSetState($bCOVERviews7, $GUI_Enable)
    GUICtrlSetState($bCOVERviews8, $GUI_Enable)
    GUICtrlSetState($bCOVERviews9, $GUI_Enable)
    GUICtrlSetState($bCOVERviews10, $GUI_Enable)
    GUICtrlSetState($bCOVERviews11, $GUI_Enable)
    GUICtrlSetState($bCOVERviews12, $GUI_Enable)
    GUICtrlSetState($bCOVERviews13, $GUI_Enable)
    GUICtrlSetState($bCOVERviews14, $GUI_Disable)
    GUICtrlSetState($bCOVERviewsAll, $GUI_Enable)
    GUICtrlSetState($bCOVERopen, $GUI_HIDE)
    GUICtrlSetState($pS1, $GUI_HIDE)
    GUICtrlSetState($pS2, $GUI_HIDE)
    GUICtrlSetState($pS3, $GUI_HIDE)
    GUICtrlSetState($pS4, $GUI_HIDE)
    GUICtrlSetState($pS5, $GUI_HIDE)
    GUICtrlSetState($pS6, $GUI_HIDE)
    GUICtrlSetState($pS7, $GUI_HIDE)
    GUICtrlSetState($pS8, $GUI_HIDE)
    GUICtrlSetState($pS9, $GUI_HIDE)
    GUICtrlSetState($pS10, $GUI_HIDE)
    GUICtrlSetState($pS11, $GUI_HIDE)
    GUICtrlSetState($pS12, $GUI_HIDE)
    GUICtrlSetState($pS13, $GUI_HIDE)
    GUICtrlSetState($bCOVERs1, $GUI_HIDE)
    GUICtrlSetState($bCOVERs2, $GUI_HIDE)
    GUICtrlSetState($bCOVERs3, $GUI_HIDE)
    GUICtrlSetState($bCOVERs4, $GUI_HIDE)
    GUICtrlSetState($bCOVERs5, $GUI_HIDE)
    GUICtrlSetState($bCOVERs6, $GUI_HIDE)
    GUICtrlSetState($bCOVERs7, $GUI_HIDE)
    GUICtrlSetState($bCOVERs8, $GUI_HIDE)
    GUICtrlSetState($bCOVERs9, $GUI_HIDE)
    GUICtrlSetState($bCOVERs10, $GUI_HIDE)
    GUICtrlSetState($bCOVERs11, $GUI_HIDE)
    GUICtrlSetState($bCOVERs12, $GUI_HIDE)
    GUICtrlSetState($bCOVERs13, $GUI_HIDE)
    GUICtrlSetState($bCOVERAll, $GUI_HIDE)
    If FileExists (".\Covers\S14.jpg") Then
    $pS14 = GUICtrlCreatePic(".\Covers\S14.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    Else
    $pNOT = GUICtrlCreatePic("not.jpg", 96, 0, 289, 289, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    $bCOVERs14 = GUICtrlCreateButton("download Cover", 136, 296, 201, 41, $WS_GROUP)
    EndIf

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

    Case $bCOVERviewsAll
    GUICtrlSetState($pNOT, $GUI_HIDE)
    GUICtrlSetState($bCOVERviews1, $GUI_Enable)
    GUICtrlSetState($bCOVERviews2, $GUI_Enable)
    GUICtrlSetState($bCOVERviews3, $GUI_Enable)
    GUICtrlSetState($bCOVERviews4, $GUI_Enable)
    GUICtrlSetState($bCOVERviews5, $GUI_Enable)
    GUICtrlSetState($bCOVERviews6, $GUI_Enable)
    GUICtrlSetState($bCOVERviews7, $GUI_Enable)
    GUICtrlSetState($bCOVERviews8, $GUI_Enable)
    GUICtrlSetState($bCOVERviews9, $GUI_Enable)
    GUICtrlSetState($bCOVERviews10, $GUI_Enable)
    GUICtrlSetState($bCOVERviews11, $GUI_Enable)
    GUICtrlSetState($bCOVERviews12, $GUI_Enable)
    GUICtrlSetState($bCOVERviews13, $GUI_Enable)
    GUICtrlSetState($bCOVERviews14, $GUI_Enable)
    GUICtrlSetState($bCOVERviewsAll, $GUI_Disable)
    GUICtrlSetState($pS1, $GUI_HIDE)
    GUICtrlSetState($pS2, $GUI_HIDE)
    GUICtrlSetState($pS3, $GUI_HIDE)
    GUICtrlSetState($pS4, $GUI_HIDE)
    GUICtrlSetState($pS5, $GUI_HIDE)
    GUICtrlSetState($pS6, $GUI_HIDE)
    GUICtrlSetState($pS7, $GUI_HIDE)
    GUICtrlSetState($pS8, $GUI_HIDE)
    GUICtrlSetState($pS9, $GUI_HIDE)
    GUICtrlSetState($pS10, $GUI_HIDE)
    GUICtrlSetState($pS11, $GUI_HIDE)
    GUICtrlSetState($pS12, $GUI_HIDE)
    GUICtrlSetState($pS13, $GUI_HIDE)
    GUICtrlSetState($pS14, $GUI_HIDE)
    GUICtrlSetState($bCOVERs1, $GUI_HIDE)
    GUICtrlSetState($bCOVERs2, $GUI_HIDE)
    GUICtrlSetState($bCOVERs3, $GUI_HIDE)
    GUICtrlSetState($bCOVERs4, $GUI_HIDE)
    GUICtrlSetState($bCOVERs5, $GUI_HIDE)
    GUICtrlSetState($bCOVERs6, $GUI_HIDE)
    GUICtrlSetState($bCOVERs7, $GUI_HIDE)
    GUICtrlSetState($bCOVERs8, $GUI_HIDE)
    GUICtrlSetState($bCOVERs9, $GUI_HIDE)
    GUICtrlSetState($bCOVERs10, $GUI_HIDE)
    GUICtrlSetState($bCOVERs11, $GUI_HIDE)
    GUICtrlSetState($bCOVERs12, $GUI_HIDE)
    GUICtrlSetState($bCOVERs13, $GUI_HIDE)
    GUICtrlSetState($bCOVERs14, $GUI_HIDE)
    If FileExists (".\Covers\S01.jpg") and FileExists (".\Covers\S02.jpg") and FileExists (".\Covers\S03.jpg") and FileExists (".\Covers\S04.jpg") and FileExists (".\Covers\S05.jpg") and FileExists (".\Covers\S06.jpg") and FileExists (".\Covers\S07.jpg") and FileExists (".\Covers\S08.jpg") and FileExists (".\Covers\S09.jpg") and FileExists (".\Covers\S10.jpg") and FileExists (".\Covers\S11.jpg") and FileExists (".\Covers\S12.jpg") and FileExists (".\Covers\S13.jpg") and FileExists (".\Covers\S14.jpg") Then
    $bCOVERopen = GUICtrlCreateButton("öffne Verzeichnis aller Folgen", 136, 296, 201, 41, $WS_GROUP)
    Else
    $bCOVERAll = GUICtrlCreateButton("downloade Alle Covers", 136, 296, 201, 41, $WS_GROUP)
    EndIf

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

    Case $bCOVERs1
    InetGet("http://ecx.images-amazon.com/images/I/61dYIMUh95L._AA1181_.jpg",@ScriptDir & "\Covers\S01.jpg", 1, 0)
    msgbox (0, "", "Fertig gedownloadet")
    Case $bCOVERs2
    InetGet("http://ecx.images-amazon.com/images/I/61BpZTJW88L._AA1181_.jpg",@ScriptDir & "\Covers\S02.jpg", 1, 0)
    msgbox (0, "", "Fertig gedownloadet")
    Case $bCOVERs3
    InetGet("http://ecx.images-amazon.com/images/I/71M-GZYOfHL._AA1183_.jpg",@ScriptDir & "\Covers\S03.jpg", 1, 0)
    msgbox (0, "", "Fertig gedownloadet")
    Case $bCOVERs4
    InetGet("http://ecx.images-amazon.com/images/I/61DyYVrpReL._AA1181_.jpg",@ScriptDir & "\Covers\S04.jpg", 1, 0)
    msgbox (0, "", "Fertig gedownloadet")
    Case $bCOVERs5
    InetGet("http://ecx.images-amazon.com/images/I/714GUxt8VlL._AA1181_.jpg",@ScriptDir & "\Covers\S05.jpg", 1, 0)
    msgbox (0, "", "Fertig gedownloadet")
    Case $bCOVERs6
    InetGet("http://ecx.images-amazon.com/images/I/618ZFmHwcCL._AA1183_.jpg",@ScriptDir & "\Covers\S06.jpg", 1, 0)
    msgbox (0, "", "Fertig gedownloadet")
    Case $bCOVERs7
    InetGet("http://ecx.images-amazon.com/images/I/81MTNTxRblL._AA1183_.jpg",@ScriptDir & "\Covers\S07.jpg", 1, 0)
    msgbox (0, "", "Fertig gedownloadet")
    Case $bCOVERs8
    InetGet("http://ecx.images-amazon.com/images/I/71lc0mIicKL._AA1183_.jpg",@ScriptDir & "\Covers\S08.jpg", 1, 0)
    msgbox (0, "", "Fertig gedownloadet")
    Case $bCOVERs9
    InetGet("http://ecx.images-amazon.com/images/I/71KmenIwmUL._AA1183_.jpg",@ScriptDir & "\Covers\S09.jpg", 1, 0)
    msgbox (0, "", "Fertig gedownloadet")
    Case $bCOVERs10
    InetGet("http://ecx.images-amazon.com/images/I/71jdSoQMpWL._AA1181_.jpg",@ScriptDir & "\Covers\S10.jpg", 1, 0)
    msgbox (0, "", "Fertig gedownloadet")
    Case $bCOVERs11
    InetGet("http://ecx.images-amazon.com/images/I/71%2BzjMJHw6L._AA1183_.jpg",@ScriptDir & "\Covers\S11.jpg", 1, 0)
    msgbox (0, "", "Fertig gedownloadet")
    Case $bCOVERs12
    InetGet("http://ecx.images-amazon.com/images/I/71OEh8XX5%2BL._AA1183_.jpg",@ScriptDir & "\Covers\S12.jpg", 1, 0)
    msgbox (0, "", "Fertig gedownloadet")
    Case $bCOVERs13
    InetGet("http://ecx.images-amazon.com/images/I/71ytGFAq1fL._AA1183_.jpg",@ScriptDir & "\Covers\S13.jpg", 1, 0)
    msgbox (0, "", "Fertig gedownloadet")
    Case $bCOVERs14
    InetGet("http://ecx.images-amazon.com/images/I/81181speg%2BL._AA1500_.jpg",@ScriptDir & "\Covers\S14.jpg", 1, 0)
    msgbox (0, "", "Fertig gedownloadet")
    Case $bCOVERAll
    InetGet("http://ecx.images-amazon.com/images/I/61dYIMUh95L._AA1181_.jpg",@ScriptDir & "\Covers\S01.jpg", 1, 0)
    InetGet("http://ecx.images-amazon.com/images/I/61BpZTJW88L._AA1181_.jpg",@ScriptDir & "\Covers\S02.jpg", 1, 0)
    InetGet("http://ecx.images-amazon.com/images/I/71M-GZYOfHL._AA1183_.jpg",@ScriptDir & "\Covers\S03.jpg", 1, 0)
    InetGet("http://ecx.images-amazon.com/images/I/61DyYVrpReL._AA1181_.jpg",@ScriptDir & "\Covers\S04.jpg", 1, 0)
    InetGet("http://ecx.images-amazon.com/images/I/714GUxt8VlL._AA1181_.jpg",@ScriptDir & "\Covers\S05.jpg", 1, 0)
    InetGet("http://ecx.images-amazon.com/images/I/618ZFmHwcCL._AA1183_.jpg",@ScriptDir & "\Covers\S06.jpg", 1, 0)
    InetGet("http://ecx.images-amazon.com/images/I/81MTNTxRblL._AA1183_.jpg",@ScriptDir & "\Covers\S07.jpg", 1, 0)
    InetGet("http://ecx.images-amazon.com/images/I/71lc0mIicKL._AA1183_.jpg",@ScriptDir & "\Covers\S08.jpg", 1, 0)
    InetGet("http://ecx.images-amazon.com/images/I/71KmenIwmUL._AA1183_.jpg",@ScriptDir & "\Covers\S09.jpg", 1, 0)
    InetGet("http://ecx.images-amazon.com/images/I/71jdSoQMpWL._AA1181_.jpg",@ScriptDir & "\Covers\S10.jpg", 1, 0)
    InetGet("http://ecx.images-amazon.com/images/I/71%2BzjMJHw6L._AA1183_.jpg",@ScriptDir & "\Covers\S11.jpg", 1, 0)
    InetGet("http://ecx.images-amazon.com/images/I/71OEh8XX5%2BL._AA1183_.jpg",@ScriptDir & "\Covers\S12.jpg", 1, 0)
    InetGet("http://ecx.images-amazon.com/images/I/71ytGFAq1fL._AA1183_.jpg",@ScriptDir & "\Covers\S13.jpg", 1, 0)
    InetGet("http://ecx.images-amazon.com/images/I/81181speg%2BL._AA1500_.jpg",@ScriptDir & "\Covers\S14.jpg", 1, 0)
    msgbox (0, "", "Covers Fertig gedownloadet")
    Case $bCOVERopen
    ShellExecute ("Covers")
    EndSwitch
    WEnd
    Case $bBack
    GUIDelete ()
    Case $bConverter
    MsgBox (0, "", "noch nicht fertig")
    Case $bWhat
    MsgBox (0, "Was ist das???", "der iConverter wandelt dir South Park Folgen, die du bisher nur für den pc gedownloaded hast für den ipod um, ohne, dass du alles neu downloaden musst ;P")
    EndSwitch
    WEnd

    [/autoit]


    Vielen Dank schon mal im Vorraus
    mpsikorski :thumbup:

    Einmal editiert, zuletzt von mpsikorski (8. April 2011 um 21:59)

  • Hi mpsikorski,
    In deinem Skript könnte man auch noch sehr viel verkürzen (schätze mal um mindestens 500 Zeilen). Schau dir dazu am besten mal Funktionen an.
    Zu deinem Problem mit den GUIs: Bei zwei GUIs sollte man den Advanced Mode von GUIGetMsg() verwenden (Beispiel).

  • Und du verwendest sehr oft GUICtrlCreatePic() obwohl es reichen würde nur ein Pic-Control zu erstellen. Da könntest du dann nämlich GUICtrlSetImage() verwenden.
    Du könntest auch nur einen Button für die Buttons die den Text Download Cover haben erstellen, und einfach vorher den Link in einer Variable speichern bei einem Klick auf Staffel X.

  • Danke für eure tollen Antworten... ich werde das mal versuchen... jetzt weiß ich wenigstens woran der fehler liegt

    Du könntest auch nur einen Button für die Buttons die den Text Download Cover haben erstellen, und einfach vorher den Link in einer Variable speichern bei einem Klick auf Staffel X.

    Ich bin noch nicht so weit mit AutoIt. Kannst du mir das bitte genauer erklären; wäre nett ;)
    Schönen Abend noch :P