以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://weistock.com/bbs/index.asp)
--  高级功能研发区  (http://weistock.com/bbs/list.asp?boardid=5)
----  金字塔VBS SendKeys  (http://weistock.com/bbs/dispbbs.asp?boardid=5&id=140062)

--  作者:usepps
--  发布时间:2016/9/26 15:38:27
--  金字塔VBS SendKeys
请问金字塔VBS可否使用SendKeys,如果可以使用,请提供一个简单的案例。
--  作者:王锋
--  发布时间:2016/9/27 9:53:02
--  
这个比较困难,建议类似操作,你使用C++在外部进行操作
--  作者:pel46585
--  发布时间:2016/9/27 16:12:54
--  
Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long,lParam As Any) As Long
对应金字塔下的写法为
Set Wrap = CreateObject("DynamicWrapper") 
Wrap.Register "user32.dll","timeGetTime ","i=lllk","f=s", "r=l" 可能是这样写的