Jump to content

Adb problem


Recommended Posts

Hi Guys, I have problem with send text.

    If I do it this way it works

RunWait(@ComSpec & ' /c adb -s ' & $port & ' shell input text Helloworld', "", @SW_HIDE)

   But I wonder why it doesn't work when I do it this way?


$text = "HelloWorld"
RunWait(@ComSpec & ' /c adb -s ' & $port & ' shell input text ' & $text & ', "", @SW_HIDE)

I am getting an error like this (6) : ==> Unterminated string.:


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...