在博图专业版wincc里面使用画面管理,菜单栏 按钮做用户注销按钮时发现,只能用vb语言来做注销。在论坛里找到相关语句,复制到粘贴 在热键里设置 Alt+A .
原始语句 :
Dim WshShell
Set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys "%l"
改后语句:
Dim WshShell
Set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys "Alt+A"
编译提示 表达式不是有效的命令
各位大神 我是哪里出问题了啊?求指导