Js function simulation display desktop. SCF program example

  • 2020-03-30 02:40:18
  • OfStack

Sometimes we may have such a requirement, with JS simulation such an action, at the same time press the combination of shortcut keys: Windows flag key +D key, the following function can help us.
function f_ToggleDesktop() { 
var objShell = new ActiveXObject("Shell.Application"); 

Related articles: