Set the notificationsList to default button 1 with title localized_app giving up after 1. Return 0 < length of (do shell script "ps ax | grep -v grep | grep " & processName) Follow the tutorial to learn how to disable an internet connection sharing that is happening in between different systems.Don't forget to check out our site. ![]() My growlnote("Success", "Internet Connection Sharing Enabled")Įrror "Internet Connection Sharing was Not Enabled" My growlnote("Success", "Internet Connection Sharing Disabled")ĭo shell script "launchctl load -w /System/Library/LaunchDaemons/" with administrator privileges Toggle Internet Sharing: register_growl()ĭo shell script "launchctl unload -w /System/Library/LaunchDaemons/" with administrator privilegesĮrror "Internet Connection Sharing was Not Disabled" I'm using this script from Automator so that I can easily use it as a service and give it a keyboard shortcut. ![]() I took a cue from mankoff's answer and wrapped it up in an AppleScript.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |