Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

[FR] Like on ScrCpy, allow to connect to Wifi via the USB (IP detected automatically) #356

Open
1 task
AndroidDeveloperLB opened this issue Jan 28, 2023 · 0 comments
Labels
enhancement New feature or request feature Enhancement

Comments

@AndroidDeveloperLB
Copy link

AndroidDeveloperLB commented Jan 28, 2023

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
ScrCpy has a parameter of "--tcpip" that will start to use Wifi to mirror while started via USB, so that you won't need to set the IP yourself.
Steps:

  1. Connected device via USB
  2. I use the parameters of .../scrcpy-noconsole.vbs -S --always-on-top --stay-awake --tcpip on this:
strCommand = "cmd /c scrcpy.exe"

For Each Arg In WScript.Arguments
    strCommand = strCommand & " """ & replace(Arg, """", """""""""") & """"
Next

CreateObject("Wscript.Shell").Run strCommand, 0, false
  1. You can now disconnect from USB and it continues to mirror, via Wifi.

Describe alternatives you've considered
None

Additional context
Nothing

**Does it include any third-part software? (example VirtualHere

  • Yes, The name of the software is:
  • [ V] No
@AndroidDeveloperLB AndroidDeveloperLB added enhancement New feature or request feature Enhancement labels Jan 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request feature Enhancement
Projects
None yet
Development

No branches or pull requests

1 participant