-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
Need a parameter to launch scrcpy without console #2017
Comments
That would be great, but that's not possible in the scrcpy executable itself: the fact that there is a console or no console is determined before running the executable. |
I see. I wish I could make a scrcpy-noconsole.exe like the previous versions... |
You could probably modify |
Yeah, I finally made a legacy VB6 starter app to pass it on, it can be added to batch file in one line like this:
|
What does it do? Please show the diff. |
nevermind, figured out how to do it |
Can you share with us, please? |
edit the .vbs file with notepad or anything you prefer and add your arguments after scrcpy.exe and before the end of double quotation. |
I swear that already did it, but think I did some mistake, now works. Thanks a lot. |
|
Thanks @rom1v |
i still want --noconsole and not a god damm ugly vbs that i cant pin to my start menu im sick of convert my vbs scripts into exe files who are over and over get delted by antivirus for nothing for real ngl |
Hello everyone, I'm not sure if this is still relevant, but if you're still looking, add these lines at the beginning of the .bat file to automatically minimize the console window after launching. @echo off |
Hello I followed your instructions and used the commands in the bat file but I still have 2 windows open. The console windows will open behind the main scrcpy window even though I run the commands in bat Thanks in advance, |
Une |
Yeah i found this file later on the folder. I'm trying to run from python but I'm getting some errors Thanks, |
If you run from python, don't use the .bat or .vbs, just exec |
Yeah, i found the link that you sent but every time i running scrcpy from my software a console window opens directly if connection with smartphone is successful. Can i use the arguments from the vbs when i am running the scrcpy.exe from my code? Thanks, |
VBS works but how about add a command line switch? It'll be clean and clear.
Thanks a lot for your work!
The text was updated successfully, but these errors were encountered: