代码替换我的代码中的SendKeys [英] Code to replace SendKeys in My Code

查看:71
本文介绍了代码替换我的代码中的SendKeys的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

展开 | 选择 | Wrap | 行号

解决方案

弹出的需要SendKeys的消息是什么?


我做了一些非常相似的事情并且没有收到需要sendkeys的消息。


这里有一些代码的示例,其中包含大部分不重要的代码代码被剥离了。也许它可以帮助确定消息的原因:

展开 | 选择 | Wrap | 行号


它是一个弹出框,询问我是否需要覆盖那里的文件,我每次都会这样做。


如果你知道要覆盖输出,你可以在尝试创建.PDF之前将其删除(如果存在) :

展开 | 选择 | Wrap | Line编号

Expand|Select|Wrap|Line Numbers

解决方案

What is the message that is popping up that requires the SendKeys?

I do something very similar and do not get a message that requires sendkeys.

Here is an example of some of the code with most of the non-important code stripped out. Maybe it can help determine the cause of the Message:

Expand|Select|Wrap|Line Numbers


Its a pop up box that asks me if I want to overwrite the file that is there, which I do everytime.


If you know you are going to overwrite the output, you could delete it, if it exists, before attempting to create the .PDF:

Expand|Select|Wrap|Line Numbers


这篇关于代码替换我的代码中的SendKeys的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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