Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to enable/disable spotlight with automator?

Hi folks


I want to create shortcuts on my desktop in order to enable/ disable the spotlight.


I can do only this at the moment:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

But how to put that into automator and pass the password, since it needs admin rights? or it there any way to avoid the SUDO and do the same?


Tnx in advance

Posted on Jan 5, 2016 5:14 AM

Reply

There are no replies.

How to enable/disable spotlight with automator?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.