Automation Anywhere 설명서 읽기 및 검토

Automation Anywhere Version 11.3

콘텐츠 닫기


콘텐츠 열기

Passing a Variable to a VB Script

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

Passing a Variable to a VB Script

In conjunction with Automation Anywhere, running VB scripts can be very powerful.

Sometimes, people prefer to run VB (Visual Basic) scripts to perform a task or process. These scripts can be automated, using the Run Script command.

Sample Use Cases:

  • Obtain data from a file on a website
  • Calculate dates and times

Use the Run Script command to pass values in a variable to the Parameter field. You can then obtain the output from the Return Value field.

Commands that are required to pass values to a VB script and obtain the results include:

1. Pass values in the VB script: WScript.Arguments.Item(0)

2. Return values in VB script: WScript.StdOut.WriteLine "Variable"

For "Variable", the double quotes are not required for Return values.

Separate the values with a space.

피드백을 보내주십시오