Also ich versuche schon seit Stunden ein Programm zu schreiben, dass einfach nur den Anwendungsdateien Ordner auf Knopfdruck öffnet! Problem: @appdatadir funzt net! der sagt immer da wär n Syntax error! Help!:confused::confused::confused:
Hier der Code:
#include <GUIConstants.au3>
#Region ### START Koda GUI section ### Form=C:\Users\Internet Alex\Desktop\Scripten\Koda\Forms\Form1.kxf
$Form1 = GUICreate("Form1", 625, 342, 193, 125)
$Button1 = GUICtrlCreateButton("Start now!", 0, 288, 619, 49, 0)
$Label1 = GUICtrlCreateLabel("text", 64, 72, 463, 17)
$Label2 = GUICtrlCreateLabel("text", 64, 96, 419, 17)
$Label3 = GUICtrlCreateLabel("text", 64, 120, 234, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
@AppDataDir HIER LIEGT DAS PROBLEM!!!!!
EndSwitch
WEnd
Hier der Code:
#include <GUIConstants.au3>
#Region ### START Koda GUI section ### Form=C:\Users\Internet Alex\Desktop\Scripten\Koda\Forms\Form1.kxf
$Form1 = GUICreate("Form1", 625, 342, 193, 125)
$Button1 = GUICtrlCreateButton("Start now!", 0, 288, 619, 49, 0)
$Label1 = GUICtrlCreateLabel("text", 64, 72, 463, 17)
$Label2 = GUICtrlCreateLabel("text", 64, 96, 419, 17)
$Label3 = GUICtrlCreateLabel("text", 64, 120, 234, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
@AppDataDir HIER LIEGT DAS PROBLEM!!!!!
EndSwitch
WEnd