这个键叫做 Applications key (Natural keyboard) 或者 context menu key, 中文: (上下文)菜单键
虚拟键常量: VK_APPS 0x5D
定义在此处有: https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx
wikipedia: https://en.wikipedia.org/wiki/Menu_key
我尝试了两种方式来发送, 均失败:
1. http://www.bathome.net/viewthread.php?tid=15215&highlight=sendkey- CreateObject("wscript.shell").Sendkeys chr(&h885D)
复制代码 2. http://www.wilmott.com/messageview.cfm?catid=10&threadid=35254
此帖以 VBA 调用 API |