This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- https://stackoverflow.com/questions/34876073/switch-network-link-conditioner-profiles-from-console-script/38991769 | |
set mode to system attribute "mode" | |
tell application "System Preferences" | |
activate | |
set current pane to pane "com.apple.Network-Link-Conditioner" | |
delay 1 | |
end tell | |
tell application "System Events" |