I regularly connect to a VPN. When I disconnect I need to restart my wireless network. Is there a way to automate that? For instance, when I disconnect using Viscosity. Or with a keyboard trigger?
I finally figured this out with a combination of an AppleScript.
Great to hear! Please post your solution so the next person can find the answer more easily. Thanks!
1 Like
I did something similar, but in my case, it was executing a VPN reconnect after a VPN disconnect for no apparent reason. This happens to me in China periodically.
I happened upon an article that helped. Its NOT Keyboard Maestro, but is a related Applescript. I figure be rolled into a macro as well.