VBS显示桌面

标签: , , , ,

Windows系统中有个显示桌面的功能,怎么用VBS显示桌面呢?

很简单,调用Shell.Application对象的ToggleDesktop方法:

'Toggle Desktop
'By Demon
'http://demon.tw
Set shell = CreateObject("Shell.Application")
shell.ToggleDesktop

参考链接:http://msdn.microsoft.com/zh-cn/library/windows/desktop/bb774124%28v=vs.85%29.aspx

随机文章:

  1. VBE解密工具VBE Decoder
  2. VBS中TextStream对象的ReadLine方法
  3. 汇编语言中SAR和SHR指令的区别
  4. 用VBS实现凯撒密码算法
  5. Unable to find the socket transport "ssl" – did you forget to enable it when you configured PHP?

留下回复