KenzoIT Posted November 26, 2009 Posted November 26, 2009 Hi everyone, How to export info from the frame to Desktop when I press Export button ? #include <GUIConstantsEx.au3> #include <ButtonConstants.au3> #Include <File.au3> Opt('MustDeclareVars', 1) _Main() Func _Main() Local $input, $export Local $buttonclose GUICreate("Test", 240, 180) $input = GUICtrlCreateInput("",10,70,120,25) $export = GUICtrlCreateButton("Export",140,70,40,25) $buttonclose = GUICtrlCreateButton("Close", 20, 130, 40, 40, $BS_ICON) GUICtrlSetImage(-1, "shell32.dll", 28) GUISetState() While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop Case $export _FileWriteLog($input,@desktopdir & "test.txt") Case $buttonclose ExitLoop Case Else EndSwitch WEnd GUIDelete() EndFunc Pls, help me solve the problem. Many thanks !
99ojo Posted November 26, 2009 Posted November 26, 2009 Hi, _FileWriteLog(@desktopdir & "\test.txt", GuiCtrlread ($input)) ;-)) Stefan
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now