Jump to content

Camera Restart


andy4222

Recommended Posts

A lot of time, the webcam on our laptops (external or inbuilt) stop working and does not turn on unless you restart the machine. This workflow restarts the camera process. 

 

macOS prompts for user password (via the macOS's normal authentication flow) since killing a process requires sudo access. It's a one line script so nothing too crazy. Here's the script that can also be found in the workflow

 

do shell script "killall VDCAssistant" with administrator privileges

 

I created this workflow.

 

https://www.dropbox.com/s/s7pufygh3b9n3ol/Camera Restart.alfredworkflow.zip?dl=0

 

Disclaimer: Use at your own risk. Look through the workflow before using it

 

 

image.thumb.png.e7785372cb44c1f14bc91ae56d51942b.png

Edited by andy4222
Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...