activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

生产力活动

上次更新日期 2025年12月8日

Invoke Apple Shortcut

UiPath.AppleScripting.Activities.InvokeAppleShortcut

Invokes an Apple shortcut and returns its output.

This activity runs an Apple Shortcut by name and returns the result. Apple Shortcuts are automation workflows created in the Shortcuts app on macOS. The activity supports various input types including text, files, or a dictionary of arguments. You can specify output options such as the output path and output type (UTI format). The activity includes timeout configuration and error handling options.

Note: This package only runs on macOS systems.

项目兼容性

Windows | 跨平台

配置

You can configure the activity and its properties as follows:

  • Shortcut name - The name of the shortcut to run.
  • Input arguments - A dictionary of key-value pairs to pass as input to the shortcut.
Note: For more details on the plus menu options, check Designing automations.

属性

  • Output path - Optional path where the shortcut output will be written to a file.
  • Output type - Optional Uniform Type Identifier (UTI) for the output format, for example, public.jpeg, public.plain-text.
  • Throw on fail - If set to True, throws an exception when the exit code of the shortcut is not 0. The message contained in the exception will be the content of the standard error stream.
  • Timeout (milliseconds) - Specifies the amount of time (milliseconds) to wait for the activity to run before throwing an error. Leave blank to wait indefinitely.
  • Result - The result of the shortcut invocation.

  • 项目兼容性
  • 配置

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo
信任与安全
© 2005-2025 UiPath。保留所有权利。