0

I am trying to write a program in VBScript to automate tasks that I do in Internet Explorer. I need to click a series of buttons and textboxes and I was wondering if someone could give me a hint on how to get VBScript to click them for me?

At the moment I am just telling my program to click "tab" to get to the button I want and click "enter" - which makes the program really slow. I also need to enter data into a series of textboxes and click a button that will add another textbox for me to enter information in.

Any guidance would be greatly appreciated.

Thanks!

4

1 回答 1

0

右键单击您想要在 VBscript 中单击的按钮。单击Inspect Element

查找按钮的元素 ID。

使 VBscript 单击按钮,如下例所示:

Document.getElementById("IDGOESHERE").Click
于 2016-01-31T02:55:16.770 回答