Jump to content

Adb problem


kondo123
 Share

Recommended Posts

Hi Guys, I have problem with send text.

    If I do it this way it works

$port='4203032cc36a3e1'
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?

$port='4203032cc36a3e1'

$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
 Share

  • Recently Browsing   0 members

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