Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The problem of copy and paste #52

Open
xxdoc opened this issue Oct 11, 2022 · 1 comment
Open

The problem of copy and paste #52

xxdoc opened this issue Oct 11, 2022 · 1 comment

Comments

@xxdoc
Copy link

xxdoc commented Oct 11, 2022

Glad to see you've updated the usage of crtl +a. I used crtl +v for replication

i used scrcpy to control my phone

first,i clear the text
adbshellStr = "adb shell am broadcast -a ADB_CLEAR_TEXT" i found this cannot work! donot clear my copyed text in my phone,how does this command mean?
dos send adbshellstr to clear text

then i set something to Clipboard

    Clipboard.Clear
    Clipboard.setText **something** e:xxdoc

the last i set ctrl+v to coyp sometext to phone textbox
adbshellStr = "am broadcast -a ADB_INPUT_TEXT --es mcode '4096,50' "
dos send adbshellstr

===can ADB_CLEAR_TEXT clear this "ctrl+v "get the text?

but i find my phone can not show something e:xxdoc ,but other work i copyed in my phone

@xxdoc
Copy link
Author

xxdoc commented Oct 11, 2022

o I know scrcpy is not real keyboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant