Advertisement
ot_inc

scrcpy&sndcpy-noconsole

Apr 23rd, 2022 (edited)
1,990
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Put the sndcpy file, sndcpy.bat and sndcpy.apk in the scrcpy directory before use.
  2. #使用前にscrcpyのディレクトリに「sndcpyファイル」と「sndcpy.bat」と「sndcpy.apk」を入れてください。
  3.  
  4. strCommand = "cmd /c sndcpy.bat"
  5.  
  6. For Each Arg In WScript.Arguments
  7.     strCommand = strCommand & " """ & replace(Arg, """", """""""""") & """"
  8. Next
  9.  
  10. CreateObject("Wscript.Shell").Run strCommand, 0, false
  11.  
  12. strCommand = "cmd /c scrcpy.exe"
  13.  
  14. For Each Arg In WScript.Arguments
  15.     strCommand = strCommand & " """ & replace(Arg, """", """""""""") & """"
  16. Next
  17.  
  18. CreateObject("Wscript.Shell").Run strCommand, 0, false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement