W
Waffles
Guest
What do you need?:
1 timer
2 textboxes
2 buttons
What are they used for?
timer-trigger the send command
textboxes-let the user change the text and the time the message is sent
buttons-start and stop
----------------------------------------------------------------------------------
Building
1.Make your layout and get everything were you want first change the button text to start the other stop etc... before you start to code
-----------------------------------------------------------------------------
Start button:
Stop button:
Timer:
1 timer
2 textboxes
2 buttons
What are they used for?
timer-trigger the send command
textboxes-let the user change the text and the time the message is sent
buttons-start and stop
----------------------------------------------------------------------------------
Building
1.Make your layout and get everything were you want first change the button text to start the other stop etc... before you start to code
-----------------------------------------------------------------------------
Start button:
Code:
Private Sub Command1_Click()
Timer1.Enabled = True
End Sub
Stop button:
Code:
Private Sub Command1_Click()
Timer1.Enabled = false
End Sub
Timer:
Code:
Private Sub Timer1_Timer()
AppActivate ("- Conversation") 'find a conversating window
Timer1.Interval = Text2.Text 'sets the time for each message
SendKeys Text1.Text 'send the text
SendKeys "{enter}" 'press enter to send text to box
End Sub

