S
Soul Undead
Guest
Ok, so I am making an auto talker.
I easily managed to get it to send one line from a textbox.
My problem is, I want it to send from 3 text boxes.
here is my code:
timer1
Button that starts:
Button that stops:
I have it set to richtextbox as the message, as it creates a log.
But I would use either: Rich or regular textbox.
If I were to add 2 more textboxes, how would I get them to send all of them, instead of just the first line?
I easily managed to get it to send one line from a textbox.
My problem is, I want it to send from 3 text boxes.
here is my code:
timer1
Code:
SendKeys.Send(RichTextBox2.Text)
SendKeys.Send("{enter}")
Button that starts:
Code:
RichTextBox2.SaveFile("C:\logs.txt")
Timer1.Interval = TextBox1.Text
Timer1.Enabled = True
ToolStripStatusLabel1.Text = "Started!"
ToolStripProgressBar1.Value = "100"
ToolStripProgressBar1.ToolTipText = "Displays if it is activated or not"
Button that stops:
Code:
Timer1.Enabled = False
ToolStripStatusLabel1.Text = "Stopped!"
ToolStripProgressBar1.Value = "0"
I have it set to richtextbox as the message, as it creates a log.
But I would use either: Rich or regular textbox.
If I were to add 2 more textboxes, how would I get them to send all of them, instead of just the first line?


