Sendkeys或其他方法 [英] Sendkeys or another method

查看:85
本文介绍了Sendkeys或其他方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我点击表单上的超链接时,我想打开一个网页并发送3

标签以进入网页上的用户ID字段。

这可能吗?有没有其他方法可以做到这一点?

When I click a hyperlink on my form I want to open a web page and send 3
tabs to get to the User ID field on the web page.
Is this possible? Is there another way to do this?

推荐答案

John Galt写道:
John Galt wrote:
我单击表单上的超链接我要打开一个网页并发送3
选项卡以进入网页上的用户ID字段。
这可能吗?


您是否尝试过或者您是否希望我们为您测试?

还有其他方法吗?
When I click a hyperlink on my form I want to open a web page and send 3
tabs to get to the User ID field on the web page.
Is this possible?
Did you try it or did you want us to test it for you?
Is there another way to do this?



在Dev的网站 http://www.mvps。 org 你是一些处理IE的API。

检查出来。他们可能会提供足够的建议,允许你扩展代码。



At Dev''s site at http://www.mvps.org thee are some APIs that deal with IE.
Check them out. They may provide suffiecient advice to allow you to expand
the code.


我试过这个并且似乎无法使它工作。 />
我会查看该网站,看看收益率是多少。

感谢您抽出宝贵时间写作。


John


沙拉 < oi*@vinegar.com>在消息中写道

新闻:40 ************** @ vinegar.com ...
I have tried this and cannot seem to make it work.
I will look at the site and see what that yields.
Thank you for taking the time to write.

John

"Salad" <oi*@vinegar.com> wrote in message
news:40**************@vinegar.com...
John Galt写道:
John Galt wrote:
当我单击表单上的超链接时,我想打开一个网页并发送3
选项卡以进入网页上的用户ID字段。
这是可能吗?
您是否尝试过或者您是否希望我们为您测试?
When I click a hyperlink on my form I want to open a web page and send 3
tabs to get to the User ID field on the web page.
Is this possible?
Did you try it or did you want us to test it for you?
还有其他方法吗?


<在Dev的网站 http://www.mvps.org thee是一些处理IE的API。
检查出来。他们可能会提供足够的建议,让你



At Dev''s site at http://www.mvps.org thee are some APIs that deal with IE.
Check them out. They may provide suffiecient advice to allow you to



扩展代码。


expand the code.



John Galt写道:
John Galt wrote:
我已经尝试了这个并且似乎无法使其工作。
我将查看该网站,看看它产生了什么。
感谢您的参与写作的时间。

约翰
I have tried this and cannot seem to make it work.
I will look at the site and see what that yields.
Thank you for taking the time to write.

John




祝你好运。有一件事,当您执行3个选项卡时,调用链接的表单是否会移动3个字段?当网页打开时,我认为需要激活网页

才能在sendkey工作之前获得焦点。


你也可以想要在

hppt://groups.google.com上转到高级搜索,分组*访问*,并在那里进行搜索。



Good luck. One thing, when you do the 3 tabs, does the form that calls the link
move 3 fields? When the web page is opened, I would think that the web page
needs to be activated and have the focus before the sendkeys works.

You might also want to goto advanced search, group *access*, at
hppt://groups.google.com and do some searching there.

这篇关于Sendkeys或其他方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆