Results 1 to 33 of 33

Thread: Program That Types[ ALMOST RESOLVED!]

Threaded View

  1. #31
    Hyperactive Member alacritous's Avatar
    Join Date
    Aug 2003
    Posts
    464
    VB Code:
    1. Dim CANCELIT As Boolean
    2.  
    3. Private Sub Command1_Click()
    4. Label1.Caption = ""
    5. Add (Text1.Text)
    6. End Sub
    7.  
    8. Private Sub Command2_Click()
    9. CANCELIT = True
    10. End Sub
    11.  
    12. Function Add(strMessage As String) As String
    13. Dim i As Integer
    14. For i = 1 To Len(strMessage)
    15. If CANCELIT = True Then
    16. CANCELIT = False
    17. Exit Function
    18. End If
    19. Sendkeys Mid$(strMessage, i, 1)
    20. Pause (100)
    21. Next
    22. End Function

    Command1, Command2, Label1, Text1

    Works for me...
    *CHEERS*
    alacritous
    Last edited by alacritous; Sep 2nd, 2003 at 09:22 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width