Giter VIP home page Giter VIP logo

Comments (6)

srevinsaju avatar srevinsaju commented on May 17, 2024

Hello @ariagecheney . Copying characters are limited to unicode. This is an issue on Genymobile/scrcpy https://github.com/Genymobile/scrcpy . Clipboard activity uses pygetwindow and pyautogui to work. Without that it won't work. I have not tested Clipboard activity button on Windows, but this might be useful and is working

On the screen mirroring window:
Ctrl + C does copy from phone to PC
Ctrl + Shift + C does copy from PC to Phone clipboard

from guiscrcpy.

srevinsaju avatar srevinsaju commented on May 17, 2024

@ariagecheney This is the same issue you are having, Genymobile/scrcpy#907
And this
Genymobile/scrcpy#632

from guiscrcpy.

Leo-Lionni avatar Leo-Lionni commented on May 17, 2024

Hello @ariagecheney . Copying characters are limited to unicode. This is an issue on Genymobile/scrcpy https://github.com/Genymobile/scrcpy . Clipboard activity uses pygetwindow and pyautogui to work. Without that it won't work. I have not tested Clipboard activity button on Windows, but this might be useful and is working

On the screen mirroring window:
Ctrl + C does copy from phone to PC
Ctrl + Shift + C does copy from PC to Phone clipboard

Thanks for your reply and help! But I do say:

  1. On my computer, when I copied some text (all in English) from the screen mirror window (mobile phone), I did not click the toolbar, moved the mouse directly to the computer, and still could not "paste successfully ".
  2. Even though I copied, I clicked "toolbar -- copy device clipboard to PC" and got an error:

WARNING : Copy device to PC is implemented only in source code due to its development stage
If you are a developer, uncomment the import statements of PyAutoGui
Traceback (most recent call last):
File "guiscrcpy_main_.py", line 446, in clipd2pc
scrcpywindow.focus()
AttributeError: 'Win32Window' object has no attribute 'focus'

I'm sure I've uncommented and imported PyAutoGUI and pygetwindow.

Uncomment this if you would like to test experimental features

uncommented .

try:
import pyautogui as auto
except ModuleNotFoundError:
print("PyAutoGUI is not installed. Please install it with pip install pyautogui."
"Read the README.md on github.com/srevinsaju/guiscrcpy. \n You might want to continue without "
"pyAutoGUI limited functionality")
try:
from pygetwindow import getWindowsWithTitle
except NotImplementedError:
print(" some module is not imported")


so Ask for your help again sincerely!

from guiscrcpy.

srevinsaju avatar srevinsaju commented on May 17, 2024

@ariagecheney Hope your issue is solved on Genymobile/scrcpy#1057 . It is always best for its creator to explain how it works. I created only thr GUI wrapper for the command line baseed scrcpy

from guiscrcpy.

srevinsaju avatar srevinsaju commented on May 17, 2024

@ariagecheney regarding the button, probably PyAutoGUI have changed their API, i have not updated to latest version on Windows. My testing is focused on Linux (as thats only available option) Hope you installed guiscrcpy 2.0 from PYPI

from guiscrcpy.

Leo-Lionni avatar Leo-Lionni commented on May 17, 2024

@ariagecheney Hope your issue is solved on Genymobile/scrcpy#1057 . It is always best for its creator to explain how it works. I created only thr GUI wrapper for the command line baseed scrcpy

thank you! now it work very correctly instructed by Genymobile/scrcpy#1057 (comment) steps!
thank you very much! @srevinsaju

from guiscrcpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.