【问题标题】:How to launch an Outlook template file?如何启动 Outlook 模板文件?
【发布时间】:2021-01-15 06:49:07
【问题描述】:

如何使用 AutoIt 启动“Outlook 文件模板”文件 (.oft)?

我将 .oft 文件保存到我的下载文件夹并希望 AutoIt 像在 Windows 资源管理器中双击它一样打开它。 FileOpen() 无效;我希望在 Microsoft Outlook 中全屏打开 .oft 文件。

【问题讨论】:

标签: outlook autoit


【解决方案1】:

我希望在 Microsoft Outlook 中全屏打开 .oft 文件。

根据Documentation - Function Reference - ShellExecute()

使用 ShellExecute API 运行外部程序。

例子:

#include <AutoItConstants.au3>

ShellExecute("C:\Users\username\Downloads\filename.oft", "", "", $SHEX_OPEN, @SW_MAXIMIZE)

或者只是ShellExecute("C:\Users\username\Downloads\filename.oft")

【讨论】:

    猜你喜欢
    • 2017-12-18
    • 1970-01-01
    • 1970-01-01
    • 2016-01-12
    • 2017-10-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多