【问题标题】:Unable to take Screenshot using Taskt RPA无法使用 Taskt RPA 截屏
【发布时间】:2019-10-29 23:13:20
【问题描述】:

我将 TaskT rpa 用于自动化代码,但是,除了屏幕截图部分之外,该代码正在工作,每次它在屏幕截图步骤中失败,并在日志中引发错误。我已经用问题添加了带有步骤详细信息的图像

Error: System.Exception: System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
   at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
   at System.Drawing.Image.Save(String filename, ImageFormat format)
   at System.Drawing.Image.Save(String filename)
   at taskt.Core.AutomationCommands.ScreenshotCommand.RunCommand(Object sender)
   at taskt.Core.AutomationEngineInstance.ExecuteCommand(ScriptAction command)
   at taskt.Core.AutomationEngineInstance.ExecuteCommand(ScriptAction command)
   at taskt.Core.AutomationEngineInstance.ExecuteScript(String filePath)

enter image description here

【问题讨论】:

标签: rpa


【解决方案1】:

这是您可以使用的准备好的 G1ANT 代码:

keyboard ⋘ctrl+printscreen⋙
program mspaint.exe
keyboard ⋘ctrl+v⋙
keyboard ⋘ctrl+s⋙
keyboard filename
change the file name and on the end, you can put the last command:
keyboard ⋘enter⋙

【讨论】:

    猜你喜欢
    • 2023-02-13
    • 2020-01-25
    • 2017-12-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-05-24
    • 2021-08-06
    相关资源
    最近更新 更多