Skip to content

Instantly share code, notes, and snippets.

@Howard20181
Created March 23, 2025 01:36
Show Gist options
  • Save Howard20181/1446a1c1ca574da0c33b2f9f8f415555 to your computer and use it in GitHub Desktop.
Save Howard20181/1446a1c1ca574da0c33b2f9f8f415555 to your computer and use it in GitHub Desktop.
scrcpy
strCommand = "cmd /c scrcpy.exe --video-codec=h265 --video-encoder=c2.qti.hevc.encoder --disable-screensaver --stay-awake --mouse-bind=+hbs:n+++"
For Each Arg In WScript.Arguments
strCommand = strCommand & " """ & replace(Arg, """", """""""""") & """"
Next
CreateObject("Wscript.Shell").Run strCommand, 0
strCommand = "cmd /c scrcpy-noconsole-h265 --no-vd-destroy-content --no-vd-system-decorations --new-display=3840x2160/320 --start-app=?TachiyomiSY"
CreateObject("Wscript.Shell").Run strCommand, 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment