Automation Anywhere 설명서 읽기 및 검토

Automation Anywhere Version 11.3

콘텐츠 닫기


콘텐츠 열기

Calling Tasks from Programs or Scripts

  • 업데이트: 2020/05/12
    • 11.3.x
    • 탐색
    • Enterprise

Calling Tasks from Programs or Scripts

You can call Automation Anywhere tasks from other programs, scripts, or batch files. By default, Automation Anywhere saves all tasks in the folder named: My Documents\Automation Anywhere Files\Automation Anywhere

Calling a Task from a Batch File

Task-name: download-emails.atmx

Call the task named download-emails.atmx from a batch file by adding the following line in the batch file:

"C:\Program Files\Automation Anywhere 7.0\Client\AA.Player.exe"

"/fD:\My Documents\Automation Anywhere Files\Automation Anywhere\My Tasks\download-emails.atmx/e"

Calling a Task from an Excel Macro

Task-name: download-data.atmx

To call the download-data.atmx task from an Excel macro, add the following text to the Excel macro:

Dim RetVal

RetVal = Shell("C:\Program Files\Automation Anywhere Enterprise 7.0\Client\AA.Player.exe "/fD:\My Documents\Automation Anywhere Files\Automation

Anywhere\My Tasks\download-data.atmx"/e", 1)

If the task is successful, it returns 0 to the calling program. If it encounters an error, it returns 1.

피드백을 보내주십시오