1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to? Feed keys to firefox (Yahoo Mail) window

Discussion in 'Support' started by Charles G, Sep 29, 2016.

  1. Charles G

    Joined:
    Apr 2, 2011
    Messages:
    1,021
    Likes Received:
    0
    How would I do this please? I remember someone posted this before but can't locate it.

    Thoughts so far:
    = begin BTM
    Goto :here

    1 - switch to FF Window

    2 - verify that Yahoo is in descrption

    3 - feed Ctrl-A, M, zero, and delay of 15 seconds, repeatedly

    :here

    = end BTM

    Thank you in advance
     
  2. Joe Caverly

    Joined:
    Aug 28, 2009
    Messages:
    680
    Likes Received:
    8
    While not Yahoo, here is how I login to a site;

    Code:
    detach firefox.exe http://www.koodomobile.com/selfserve
    do until iswindow "*Log in*"
      delay 5
    enddo
    keystack /w35 "userid@domain.ca" tab /w35 "Password" enter
    do until iswindow "*Overview*"
      delay 1
    enddo
    Hopefully, this will assist you.

    Joe
     
  3. Charles G

    Joined:
    Apr 2, 2011
    Messages:
    1,021
    Likes Received:
    0
    If the FF "Yahoo mail" is already open - how would I change to it please, from the TCC window? Feed it Alt-Tab twice until

    do until iswindow "*Yahoo Mail*"

    is true?
     
  4. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,307
    Likes Received:
    39
    Wait until the windows exists, then use ACTIVATE to focus it.
     
  5. Charles G

    Joined:
    Apr 2, 2011
    Messages:
    1,021
    Likes Received:
    0
    So iswindow tests for the existence of the window:

    do until iswindow "*Yahoo Mail*"
    delay 1
    enddo

    :: window exists - now switch to it

    activate "*Yahoo Mail*"

    :: then feed the window.....

    for /l %nRepeat in (1,1,100) (

    keystack /w5 Ctrl-A /w5 "D" /w5 "0"
    delay 20

    )
     

Share This Page