also es geht um einen Launcher der Angry Brids+Erweiterungen zusammenfassen soll.
alle Button der Form sind belegt, Bild und Sound funzen auch.
aber bei der Erweiterung "space" erscheint beim druck auf den Button diese Fehlermeldung: "Failed to open config.lua with errno 2"
obwohl die Erweiterung mit der Verknüpfung funzt
hier noch der Code:
[autoit]SoundPlay (@ScriptDir &"\all\sount\sound.wav")
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Angry Brids+Erweiterungen", 317, 147, 1752, 264)
$B1 = GUICtrlCreateButton("Hauptspiel", 0, 0, 75, 25)
$Button2 = GUICtrlCreateButton("Rio", 16, 24, 75, 25)
$Button3 = GUICtrlCreateButton("Seasons", 0, 48, 75, 25)
$Button4 = GUICtrlCreateButton("Space", 16, 72, 75, 25)
$Pic1 = GUICtrlCreatePic(@ScriptDir & "\all\pic\Angry_birds_by_saifdesign.jpg", 96, 0, 217, 145)
$b5 = GUICtrlCreateButton("Trainer+2", 0, 96, 75, 25)
$b6 = GUICtrlCreateButton("Trainer+1", 16, 120, 75, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $B1
ShellExecute(@ScriptDir & "\all\Angry Birds\0Standart\AngryBirds.exe")
Exit
case $Button2
ShellExecute(@ScriptDir & "\all\Angry Birds\Angry Birds Rio\Angry Birds Rio\AngryBirdsRio.exe")
Exit
Case $Button3
ShellExecute(@ScriptDir & "\all\Angry Birds\Angry Birds Seasons\AngryBirdsSeasons.exe")
Exit
Case $Button4
ShellExecute(@ScriptDir & "\all\Angry Birds\Angry Birds Space\AngryBirdsSpace.exe")
Exit
Case $b5
ShellExecute(@ScriptDir & "\all\Trainer\angry_birds_plus2_fixed_trainer.exe")
Exit
Case $b6
ShellExecute(@ScriptDir & "\all\Trainer\AngryBirdsTrainer_FX.exe")
Exit
EndSwitch
WEnd
danke im vorraus
MFG.SnakeHome