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

Apr 2, 2011
1,628
15
55
North Carolina, USA
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
 
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
 
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?
 
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

)
 

Similar threads