ws-scrcpy icon indicating copy to clipboard operation
ws-scrcpy copied to clipboard

"createSetClipboardCommand"

Open lxhj opened this issue 2 years ago • 2 comments

can provide an example for send the "createSetClipboardCommand" command , PLZ

lxhj avatar Aug 18 '23 19:08 lxhj

https://github.com/NetrisTV/ws-scrcpy/blob/aecc6027576f5606afe917ca57bb09c8b9dd6faf/src/app/googDevice/toolbox/GoogMoreBox.ts#L165-L171

drauggres avatar Aug 19 '23 05:08 drauggres

https://github.com/NetrisTV/ws-scrcpy/blob/aecc6027576f5606afe917ca57bb09c8b9dd6faf/src/app/googDevice/toolbox/GoogMoreBox.ts#L165-L171

thx reply, I wrote a rest api in other file, how to call this sendmsg in method? like

newfile.ts

import xxxx;

private void test(){
 client.sendMessage(CommandControlMessage.createSetClipboardCommand(text)); 
}

lxhj avatar Aug 19 '23 10:08 lxhj