<html> <head> <title>test</title> <script language="JavaScript"> function Fkey(){ var WsShell = new ActiveXObject(‘WScript.Shell‘) WsShell.SendKeys(‘{F11}‘); } </script> </head> <body> <a href="javascript:Fkey()">屏幕切换</a> </body> </html>
时间: 2024-10-26 03:30:32