如何使VBS单击一系列按钮进行打印

时间:2018-08-31 21:52:56

标签: javascript firefox vbscript

我需要从网页上进行打印,但是必须单击现场打印按钮,然后输入要从中进行打印的页码。

要打印的页码将由脚本本身中的变量确定,然后再打印文件。

我想将其打印为pdf。如果可能的话,我还需要在Firefox上做所有这一切,如果那不是世界末日。

我也希望它不要为我自己打开网页,而让我自己已经在该网页上。

依次需要单击打印按钮,在两个都有对象类的字段中输入页码,然后等待系统打印对话框出现,这需要一些时间。然后打印并重复。

  

“ button id =” print-button“ class =” scrubber-button noButton“   data-tooltip =“打印页面” data-tooltip-location =“ top” style =“”>打印   页面”

页码的输入是:

  

“输入aria- describeby =“ printFrom-failure” aria-invalid =“ false”   placeholder =“ Start” name =“ printFrom” id =“ printFrom” value =“ 51”   class =“ vst-input css-i1ob02” style =“” type =“ text”>

0 个答案:

没有答案