andy4222 Posted November 4, 2022 Share Posted November 4, 2022 (edited) 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 Edited November 5, 2022 by andy4222 Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now