corey822 Posted December 19, 2007 Share Posted December 19, 2007 CODE#include <GUIConstants.au3> $Form1 = GUICreate("test form", 322, 199, 322, 172) $name = GUICtrlCreateInput("name", 8, 48, 169, 21) $FORM = GUICtrlCreateLabel("FORM", 152, 24, 35, 17) $Radio1 = GUICtrlCreateRadio("male", 192, 48, 113, 17) $Radio2 = GUICtrlCreateRadio("female", 192, 72, 113, 17) $List1 = GUICtrlCreateList("", 24, 72, 65, 58) GUICtrlSetData(-1, "ford|holden|saab|bmw|ferarri|subaru|honda|nissan", "ford") $Group1 = GUICtrlCreateGroup("male/female", 184, 16, 89, 81) GUICtrlCreateGroup("", -99, -99, 1, 1) $Button1 = GUICtrlCreateButton("send", 128, 128, 129, 25, 0) $MenuItem1 = GUICtrlCreateMenu("help") $MenuItem3 = GUICtrlCreateMenuItem("help file", $MenuItem1) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd ok i need a little help finsihing this first thing first 1. when send button is clicked i wish it to send a email to me with the answers as long as the program has access to the internet 2. $MenuItem3 = GUICtrlCreateMenuItem("help file", $MenuItem1) when clicked i wish it to go to a seperate file ok thats all i want to ask and please dont tell me to search on the forum and in the help file for _inetsmtp or some other thing for the code as i have not found anywhere wat i want to do sorry for the inconvenience cheers C.W C.Wnew rules:1.dont use plz in a post or title use please instead2.always use help file as it is now muchly over rated3. dont think where not watching u4.please wait 24 hours after last post ot bump XD i use to make that mistake Link to comment Share on other sites More sharing options...
Zedna Posted December 19, 2007 Share Posted December 19, 2007 1. While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 _SenEmail() EndSwitch WEnd Func SendEmail() ; ... your code will be here EndFunc Search examples forum for InetSmtpMailCom UDF for send emails. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
corey822 Posted December 19, 2007 Author Share Posted December 19, 2007 1. While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 _SenEmail() EndSwitch WEnd Func SendEmail() ; ... your code will be here EndFunc Search examples forum for InetSmtpMailCom UDF for send emails. ok thnx m8 cheers C.W C.Wnew rules:1.dont use plz in a post or title use please instead2.always use help file as it is now muchly over rated3. dont think where not watching u4.please wait 24 hours after last post ot bump XD i use to make that mistake Link to comment Share on other sites More sharing options...
Jex Posted December 19, 2007 Share Posted December 19, 2007 Look here for Smtp udf : http://www.autoitscript.com/forum/index.php?showtopic=23860or look here for working example ( I mean with GUI ) : http://www.autoitscript.com/forum/index.php?showtopic=57956 My scripts : Immediate Window , My Web Browser , Travian , Text Effect , Characters & Words per minute or second , Image Editor (ImageMagick) , Matrix style background effect ( Screensaver ) , Mail Sender , Protectlinks decoder and Rapidshare links checker , Fonts Fetcher , Region determine , Compare pictures , Gradient color box , Mouse Coordinates, Colors, Pixel Search things , Encrypt/Decrypt and embeding file in jpeg thing , Hard disk space monitor , Reflex game , Multiplayer Tic Tac Toe , WLM ( MSN ) personal message changer Link to comment Share on other sites More sharing options...
corey822 Posted December 24, 2007 Author Share Posted December 24, 2007 ok im sure u dont understand instead of taking it to a mailer i want it to jsut send in the background with out opening a mail client is there any code to do that even if the subject is preset. is there a way if so could someone please tell me the code as i ahve seen nobodsy do this as of yet or if u have give me the link it would be muchly appreciated do it as a christmas present thnx merry xmas to all C.Wnew rules:1.dont use plz in a post or title use please instead2.always use help file as it is now muchly over rated3. dont think where not watching u4.please wait 24 hours after last post ot bump XD i use to make that mistake Link to comment Share on other sites More sharing options...
Zedna Posted December 24, 2007 Share Posted December 24, 2007 ok im sure u dont understand instead of taking it to a mailer i want it to jsut send in the background with out opening a mail client is there any code to do that even if the subject is preset. is there a way if so could someone please tell me the code as i ahve seen nobodsy do this as of yet or if u have give me the link it would be muchly appreciated do it as a christmas present thnxmerry xmas to allLink given by Jex is the right one. Just try it and you will see it's exactly what you want :-) Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
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