Jump to content

Array to textField


Recommended Posts

I am trying to call the array of data to the textField... but I get an Error.

Here is what I have done

Dim $arrA[7] = [6, 'Peter', 'Robert', 'Roger', 'Andrew', 'Nick', 'Van']

Run("C:\Visual Studio 2005\Projects\WindowsApplication2\bin\Debug\WindowsApplication2.exe")


For $i = 1 To $arrA[0]

ControlSetText("Form1", "", "WindowsForms10.EDIT.app.0.378734a1", $arrA)


ControlClick("Form1", "", "WindowsForms10.BUTTON.app.0.378734a1")


and when run above script I get

Line 8 (File....):

ControlSetText("Form1", "", "WindowsForms10.EDIT.app.0.378734a1", $arrA)

ControlSetText("Form1", "", "WindowsForms10.EDIT.app.0.378734a1", $arrA[^ ERROR

Error: Error parsing function call.

Can you let me know whatz wrong? because as far as I know array can contain characters, number anything..and text field is also the same. why do I get "Error parsing function call."

Awaiting your response!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...