Sign in to follow this  
Followers 0
Bumek662

GuiCtrlSetData - add new line in editbox

6 posts in this topic

#1 ·  Posted (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 by Bumek662

Share this post


Link to post
Share on other sites



#3 ·  Posted (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 by Bumek662

Share this post


Link to post
Share on other sites

Bumek662,

 

email spambot

That 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? :huh:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

I'm write this bot for own use ;)

(but rather to learn)

Share this post


Link to post
Share on other sites

Bumek662,

So it is a spam bot. Well, guess what comes next - thread locked. :naughty:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0