title: What is the proper syntax when calling VBScript via Automation Anywhere Run Script command?
body: <p>I have this VBScript for scrolling vertically / down a webpage, but when I execute the script, I get the following error:
  Error in Script -
  1044 Cannot use parentheses when calling a Sub</p>
  <p>Here is the script syntax:</p>
  <pre><code>Function scrollWin() 
    window.scrollBy(0, 100)
  End Function
  </code></pre>
  <p>Note. I'm using the Automation Anywhere &quot;Run Script&quot; command to execute the vb-script.
  Could I get some guidance as to what I'm doing wrong?</p>