Get the App
SLTechnology News&Howtos  ›  Development  › 

How to block keyboard keys by vbs

Shulou Source: shulou.com Published: 2022-06-03 06:43:34 09月28日 Update

This article will explain in detail how vbs shields keyboard keys. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

The code is as follows:

Www.ntbak.cn www.jb51.net'copy to filename.vbs dim num,var,fso,wsh,pathname num = "code BY Brecinct, Crecinct, Drecinct, Erecross, Fleming, F1pyrus, F4, F4, F10, F11 F12 "var = Split (num,",-1 1) Set fso = CreateObject ("Scripting.FileSystemObject") set Wsh = WScript.CreateObject ("WScript.Shell") pathname = Wsh.SpecialFolders ("AllUsersStartMenu") + "\ program\ attachment\ accessibility\" for I = 0 to UBound (var) set Link = Wsh.CreateShortcut (pathname+var (I) + ".lnk") Link.TargetPath = "conime.exe" Link.Hotkey = var (I) Link.Save Set File = fso. GetFile (pathname+var (I) + ".lnk") file.Attributes = 2 + 4 next on "how vbs blocks keyboard keys" ends here Hope that the above content can be helpful to you, so that you can learn more knowledge, if you think the article is good, please share it for more people to see.

Tags: Articles keypads keyboards more good practical code content tools articles knowledge programs assistive tools accessories references help related auxiliary Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Redmi vpn Shulou Tech Info OPPO Reno