Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共3 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:[讨论]模拟按键  Sendkeys.Send  如何模拟 alt 键?

1楼
wcs 发表于:2008/9/16 22:16:00
模拟按键  Sendkeys.Send  如何模拟 alt 键?

这样一段代码:

Dim Proc As New Process
Proc
.File = "C:\Documents and Settings\okok\桌面\新建 文本文档.txt"
Proc
.Start
Proc.WaitForInputIdle()
'等程序自动结束并进入空闲状态
Sendkeys.Send(
"I Like FoxTable ~ skgis % {down 7} ~ ") '发送按键信息


执行到 % 的地方没有进行下去。

%是不是ALT的按键代码啊?为什么不执行了?
2楼
wcs 发表于:2008/9/16 23:46:00

没人回答啊!

3楼
czy 发表于:2008/9/17 1:09:00
Dim Proc As New Process
Proc.File = "C:\Documents and Settings\okok\桌面\新建 文本文档.txt"
Proc.Start
Proc.WaitForInputIdle() '等程序自动结束并进入空闲状态
Sendkeys.Send("I Like FoxTable ~ skgis % {down 5}~~") '发送按键信息
共3 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .01953 s, 2 queries.