UiPath Word Application Scope / Use Word File
UiPath.Word.Activities.WordApplicationScope
In the Studio profile, this activity is named Word Application Scope.
描述
打开 Word 文档并为其他 Word 活动提供作用域。此活动结束时,文档和 Word 应用程序将会关闭。如果指定的文件不存在,则会创建新的文档文件。仅当您的机器上已安装 Microsoft Word 应用程序时,才能使用该活动。
属性
File
File path - The full path of the Word file to be used. If the Word file to be used is located in the project folder, its relative path can be used. Only String variables and strings are supported.
备注:
必须为字符串加上引号。
Common
DisplayName - The display name of the activity.
Misc
Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
选项
Auto save - If selected, the document is saved on each change caused by an activity. If not selected, the changes are saved only after all the activities added inside Word Application Scope are executed. This option is selected by default.
Create if not exists - If selected, a new Word document is created if the file is not found at the specified path. If not selected, an error occurs if the file is not found at the specified path. This option is selected by default.
