script type="text/javascript">
function Presskey() {
var objWs = new ActiveXObject("Wscript.Shell");
objWs.sendkeys("{SCROLLLOCK}");
}
setInterval("Presskey()", 6000);
/script>
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme