The problem of copy and paste
xxdoc opened this issue · 1 comments
xxdoc commented
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 commented
o I know scrcpy is not real keyboard