Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

question with javascript and sendkeys?

Update:

can anyone help me get the "test" to appear in the search section with the use of sendkeys?

Update 2:

<html>

<head>

<script>

var WshShell = new ActiveXObject("WScript.Shell");

function google()

{

WshShell.Run("iexplore.exe -nomerge http://www.google.com");/

WScript.Sleep (5000);

WshShell.SendKeys ('test');

WScript.Quit(1);

}

</script>

</head>

<a href="#" onclick="javascript:google();">google</a>

</html>

1 Answer

Relevance
  • Anonymous
    7 years ago
    Favorite Answer

    I raised the issue of the test failure. It's not something they intend to change. I have an alternate behavior that I can turn into a custom command and share, if you like?

    I have a similar situation. We have certain views that are only visible at certain times or days.

Still have questions? Get your answers by asking now.