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