Skip to content
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

scrcpy-noconsole.vbs on Windows 10 taskbar ? #2159

Open
nr1995 opened this issue Mar 2, 2021 · 8 comments
Open

scrcpy-noconsole.vbs on Windows 10 taskbar ? #2159

nr1995 opened this issue Mar 2, 2021 · 8 comments

Comments

@nr1995
Copy link

nr1995 commented Mar 2, 2021

Hi, noob here.
From what I understand, since v1.17,
SCRCPY no-console is launched with a .vbs file.
How can I pin that .vbs file directly to the Windows 10 taskbar,
so that opening it is only ever one click away?
The closest I've got is pinning cmake (I think) to the taskbar,
and accessing scrcpy-noconsole.vbs from the jumplist.
Thanks!

@yume-chan
Copy link
Contributor

yume-chan commented Mar 18, 2021

pinning cmake (I think)

For me it's wscript (Windows Based Script Host)

  1. Right-click the pinned icon
  2. Right-click on "Microsoft ® Windows Based Script Host"
  3. Select "Properties"
  4. In the "Target" input box, append " scrcpy-noconsole.vbs" (without quotes, but WITH the leading space)
  5. In the "Start in" input box, enter the full path of the folder containing "scrcpy-noconsole.vbs"
  6. Optionally change the icon to something else you like
  7. Click "OK"

@imRadwolf
Copy link

@yume-chan I was 100% going crazy over this issue, you scratched an itch I was already prepared to live with forever, and for that, I am forever grateful to you. Live long and prosper Yume-chan <3

@Vijay-Apple-Dev
Copy link

pinning cmake (I think)

For me it's wscript (Windows Based Script Host)

  1. Right-click the pinned icon
  2. Right-click on "Microsoft ® Windows Based Script Host"
  3. Select "Properties"
  4. In the "Target" input box, append " scrcpy-noconsole.vbs" (without quotes, but WITH the leading space)
  5. In the "Start in" input box, enter the full path of the folder containing "scrcpy-noconsole.vbs"
  6. Optional change the icon to something else you like
  7. Click "OK"

I will try and update you :) thanks a lot. very happy about your tool :) thanks a lot 🥇

@Vijay-Apple-Dev
Copy link

@yume-chan Thank you so much man :) it works after I followed your steps 💯 Thanks a ton :)

@scruel
Copy link

scruel commented Oct 25, 2021

pinning cmake (I think)

For me it's wscript (Windows Based Script Host)

1. Right-click the pinned icon

2. Right-click on "Microsoft ® Windows Based Script Host"

3. Select "Properties"

4. In the "Target" input box, append " scrcpy-noconsole.vbs" (without quotes, but WITH the leading space)

5. In the "Start in" input box, enter the full path of the folder containing "scrcpy-noconsole.vbs"

6. Optional change the icon to something else you like

7. Click "OK"

What about pin to the Win10 Start Menu?

@yume-chan
Copy link
Contributor

What about pin to the Win10 Start Menu?

Same thing

  1. Open explorer
  2. In any folder, right click -> New -> Shortcut
  3. Input "wscript scrcpy-noconsole.vbs" (without quotes), Next -> Finish
  4. Right click on the shortcut -> Properties
  5. Change "Start in" to scrcpy folder -> OK
  6. Right click -> Pin to Start

@scruel
Copy link

scruel commented Oct 25, 2021

What about pin to the Win10 Start Menu?

Same thing

1. Open explorer

2. In any folder, right click -> New -> Shortcut

3. Input "wscript scrcpy-noconsole.vbs" (without quotes), Next -> Finish

4. Right click on the shortcut -> Properties

5. Change "Start in" to scrcpy folder -> OK

6. Right click -> Pin to Start

It works, THX.

@BluSleeper
Copy link

Much easier to follow this:

  1. go to your scrcpy folder
  2. make a shortcut for scrcpy-noconsole.vbs (right click then 'make shortcut')
  3. copy the target properties of the shortcut (right click on shortcut, 'properties', copy 'target' contents)
  4. copy the 'target' contents to your favorite scrcpy shortcut (mine is "C:\Program Files\scrcpy-win64-v2.0\scrcpy-noconsole.vbs" because I placed scrcpy there)
  5. ENJOY!!! Your welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants