Results 1 to 2 of 2

Thread: Send keys of Enter and linefeed

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Location
    Philippines
    Posts
    85

    Send keys of Enter and linefeed

    I'm trying use send keys to send enter and line feed during a windows telnet session. what's the correct sysntax for this?

    I use this one:

    sendkeys "guest"
    sendkeys chr(10)+chr(13),true

    this doesn't work. what happen is just like this

    AIX Version 4
    (c) copyright IBM and by other 1986,1992.
    login: guest password:

    it should be like this:

    AIX Version 4
    (c) copyright IBM and by other 1986,1992.
    login: guest
    guest password:

    and also on the Telnet screen, the SENDKEYS "password{ENTER}" seems not to work. it can't interpret the password that is not being echoed on screen.

    any help would be appreciated.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    I don't know if this will work with TelNet, but you can try. Instead of using Chr$(13) + Chr$(10), try using vbCrLf.

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