Question:

Sendkeys in HTML site Please help :-)?

by  |  earlier

0 LIKES UnLike

Hello, to make a long story short im running media player 6.4 from a embeded system. Now i found out that 6.4 does not support fullscreen tag and i need it to go sullscreen at video playback so i have come up with this idea and just need help in getting the right code.. I need a Javascript code what will run as the site loads and will use sendkeys ALT+Enter. This combination makes the video player play in full screen. Im new to javascripting but I have come up with an example bellow but it does not work so i seem to be doing something wrong. Thanx for the help in advance

<script language="javascript">

' WSH with VBScript

Set WshShell = wscript.CreateObject("wscript.Shell")

Wshshell.sendkeys "%{ENTER}"

</script>

 Tags:

   Report

1 ANSWERS


  1. It&#039;s not working because it&#039;s not Javascript, but in fact VBScript

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.