none
sendkeys to application log in window RRS feed

  • Question

  • Hi,

    I have a question to sendkey to an application log in.

    I set The applicaiotn autostart  when window loged in.

    to Auto iniput user and password, I make below code and setup task schedule to delay running:

    +++++

    Set oWSH = WScript.CreateObject("WScript.Shell")
     
    oWSH.AppActivate "Shipnet Fleet log in"

    oWSH.SendKeys "vesselagent"

    oWSH.SendKeys "{TAB}"

    oWSH.SendKeys "Sn"

    oWSH.SendKeys "{ENTER}"

    Set oWSH = Nothing

    ++++++

    log in application name as below:

    It does not work. no error message pops up. Window gives one sound. which like the Appactivate is not correct.

    Please give advice.

    brgds

    Liu Wei


    Thursday, January 16, 2020 5:29 PM

Answers

  • Most logins are designed to prevent automation for protection from malware.

    \_(ツ)_/

    • Marked as answer by lwsamcn Monday, January 20, 2020 1:33 AM
    Thursday, January 16, 2020 6:08 PM