-
-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.20 my .vbs scripts not working #2778
Comments
Replace the last line by: CreateObject("Wscript.Shell").Run strCommand, 1, false
WScript.Sleep 5000 Then run |
Oh, the problem's not with the script. |
Did it work on v1.19? What's the error for the second scrcpy instance? |
Yeah I'd been happily using several .vbs scripts at once on v1.19 for a while. Sorry I'm not very technical, so I probably did it wrong, I typed cd /d D:\phone stuff\scrcpy to get to the SCRCPY folder, |
Could you try without your vbs script? Just open two scrcpy instances (both over USB, both other wifi, or one USB one wifi). Refs #2779 |
I tried two of scrcpy-noconsole.vbs (which I haven't edited), but just the same as before. |
Please test #2783, it should fix this issue. |
Fixed by #2783. If this is not the case, please reopen. |
Your new scrcpy.exe and scrcpy-server seem to fix the problem. |
Thank you for your feedback! |
Hi, noob here.
These little .vbs scripts of mine worked until v1.20.
Now they open a new adb.exe in Task Manager but nothing appears.
Am I missing something?
Thanks
strCommand = "cmd /c scrcpy.exe --max-fps 1 --crop 260:70:415:93 --window-title WeChat --window-x 1792 --window-y 977 --window-width 88 --window-height 22 --window-borderless --always-on-top"
For Each Arg In WScript.Arguments
strCommand = strCommand & " """ & replace(Arg, """", """""""""") & """"
Next
CreateObject("Wscript.Shell").Run strCommand, 0, false
The text was updated successfully, but these errors were encountered: