Daanny Posted August 27, 2007 Posted August 27, 2007 Hello all...im new here and i have a litle problem...look here pls CODE #include <IE.au3> #include <Inet.au3> #include <GUIConstants.au3> $Form1 = GUICreate("...", 633, 454, 193, 115) $Edit = GUICtrlCreateEdit("", 160, 200, 621, 150) $Button_1 = GUICtrlCreateButton ("Send", 100, 100, 80) $Button_2 = GUICtrlCreateButton ( "Quit", 20, 100, 80) $filemenu = GUICtrlCreateMenu ("&File") $fileitem = GUICtrlCreateMenuitem ("Open",$filemenu) GUICtrlSetState(-1,$GUI_DEFBUTTON) $helpmenu = GUICtrlCreateMenu ("About") $saveitem = GUICtrlCreateMenuitem ("Save",$filemenu) GUICtrlSetState(-1,$GUI_DISABLE) $infoitem = GUICtrlCreateMenuitem ("About",$helpmenu) $exititem = GUICtrlCreateMenuitem ("Exit",$filemenu) $recentfilesmenu = GUICtrlCreateMenu ("Recent Files",$filemenu,1) GUISetState () While 1 $msg = GUIGetMsg() If $msg = $fileitem Then $file = FileOpenDialog("Choose file...",@TempDir,"All (*.*)") If @error <> 1 Then GUICtrlCreateMenuitem ($file,$recentfilesmenu) EndIf If $msg = $GUI_EVENT_CLOSE Or $msg = $Button_2 Or $msg = $exititem Then ExitLoop If $msg = $infoitem Then Msgbox(0,"About","Only a test...") WEnd GUIDelete() Exit now ..how can i make when i pres the button Send to send my in e-mail all it is write in the editbox...and sorry if i write something wrong:)
guwguw Posted August 27, 2007 Posted August 27, 2007 Hello all...im new here and i have a litle problem...look here pls CODE#include <IE.au3> #include <Inet.au3> #include <GUIConstants.au3> $Form1 = GUICreate("...", 633, 454, 193, 115) $Edit = GUICtrlCreateEdit("", 160, 200, 621, 150) $Button_1 = GUICtrlCreateButton ("Send", 100, 100, 80)$Button_2 = GUICtrlCreateButton ( "Quit", 20, 100, 80)$filemenu = GUICtrlCreateMenu ("&File")$fileitem = GUICtrlCreateMenuitem ("Open",$filemenu)GUICtrlSetState(-1,$GUI_DEFBUTTON)$helpmenu = GUICtrlCreateMenu ("About")$saveitem = GUICtrlCreateMenuitem ("Save",$filemenu)GUICtrlSetState(-1,$GUI_DISABLE)$infoitem = GUICtrlCreateMenuitem ("About",$helpmenu)$exititem = GUICtrlCreateMenuitem ("Exit",$filemenu)$recentfilesmenu = GUICtrlCreateMenu ("Recent Files",$filemenu,1)GUISetState ()While 1 $msg = GUIGetMsg() If $msg = $fileitem Then $file = FileOpenDialog("Choose file...",@TempDir,"All (*.*)") If @error <> 1 Then GUICtrlCreateMenuitem ($file,$recentfilesmenu) EndIf If $msg = $GUI_EVENT_CLOSE Or $msg = $Button_2 Or $msg = $exititem Then ExitLoop If $msg = $infoitem Then Msgbox(0,"About","Only a test...") WEnd GUIDelete()Exitnow ..how can i make when i pres the button Send to send my in e-mail all it is write in the editbox...and sorry if i write something wrong:)If you plan on sending an email: where is the function which accomplishes that? Or did "send my in e-mail " mean you intend to transfer some email text to another file?If it's about sending emails, maybe the function _INetSmtpMail (in the help file) is helpful.
Zedna Posted August 27, 2007 Posted August 27, 2007 1) you are in wrong forum section 2) look at my Email_zak project in my signature and also at _INetSmtpMai as guwguw said Resources UDF ResourcesEx UDF AutoIt Forum Search
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