Bumek662 Posted June 2, 2013 Share Posted June 2, 2013 (edited) Hello! Please help me in this script: ; =========================== GUI LOGÓW ================================= $GuiLOG = GUICreate("Logi E-Mail", 440, 324, 192, 124) $showlog = GUICtrlCreateEdit("", 8, 8, 417, 305) GUISetState(@SW_SHOW) ; =========================== Gdy CheckBox zaznaczony================================= if $InfoChecked = "1" then for $i = 1 to $inputilosc $GmailUser = GUICtrlRead($adresat) ;Adres e-mail nadawcy(jednoczesnie uzytkownik) $GmailPass = GUICtrlRead($inputhaslo) ;Hasło do adresu e-mail nadawcy $ToEmail = GUICtrlRead($odbiorca) ;Adres e-mail odbiorcy $StmpServer = GUICtrlRead($wp) ;Adres serwera stmp nadawcy $Temat = GUICtrlRead($inputtemat) ;Temat Maila $Tresc = GUICtrlRead($edit) ;Tresc Maila $Nadawca = GUICtrlRead($inputnadawca) ;to zostanie wyswietlone w polu nadawca (Dowolny tekst) $Zalocznik = $otwieranie ;Wysłanie maila _INetSmtpMailCom($StmpServer, $Nadawca, $GmailUser, $ToEmail, $GmailUser, $GmailPass, "" & $temat & " " & $i & "/" & $inputilosc, $Tresc, $Zalocznik);mozna dorzucic jeszcze jeden argument z załącznikiem ; ============== This line please help \/ ============= GUICtrlSetData($showlog,"Wyslano " & $i & " z " & $inputilosc & " E-Maili!") ; ============== This line please help /\ ============= Next msgbox(0,"Brawo!","Wyslales " & $inputilosc & " emaili do " & $ToEmail) GuiCtrlSetData - how to make an added line and it does not change. this is piece of code Edited June 2, 2013 by Bumek662 Link to comment Share on other sites More sharing options...
PlayHD Posted June 2, 2013 Share Posted June 2, 2013 You can use GuiCtrlSetData($showlog,GuiCtrlRead($showlog)&@LF&"New Line") ;;or _GUICtrlEdit_InsertText($showlog,@LF&"Text") My UDF : _WinShake, _WinSplitMy Apps : Google Guitar Bot, PuzzleGameDesign Gui : Interesting Tabs Design, RBox Project (abandoned), Animated Gui on Exit Link to comment Share on other sites More sharing options...
Bumek662 Posted June 2, 2013 Author Share Posted June 2, 2013 (edited) Thx PlayHD, C:UsersBumekDesktopemail spambot new.au3(107,43) : ERROR: _GUICtrlEdit_InsertText(): undefined function. and: GuiCtrlSetData($showlog,GuiCtrlRead($showlog)&@LF&"New Line") don't read @LF - wtf? added text in 1 line, no't 2 line etc. Edited June 2, 2013 by Bumek662 Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted June 2, 2013 Moderators Share Posted June 2, 2013 Bumek662, email spambotThat does not sound very pleasant. Have you read the Forum rules (there is also a link at bottom right of each page) - particularly the bit that mentions not discussing spam tools? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Bumek662 Posted June 2, 2013 Author Share Posted June 2, 2013 I'm write this bot for own use (but rather to learn) Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted June 2, 2013 Moderators Share Posted June 2, 2013 Bumek662, So it is a spam bot. Well, guess what comes next - thread locked. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts