AirDrop Enabler

display dialog "Please select an option." buttons {"Enable", "Disable", "Cancel"} with title "AirDrop Enabler" set the button_pressed to the button returned of the result if the button_pressed is "Enable" then do shell script "defaults write com.apple.NetworkBrowser BrowseAllInterfaces 1; killall Finder" else if the button_pressed is "Disable" then do shell script "defaults write com.apple.NetworkBrowser BrowseAllInterfaces 0; killall Finder" end if

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.