![]() Go to the “File” menu again and choose “Save”.Replace “VPN NAME” with the name of the accompanying VPN network location as found in System Preferences Network control panel (you can also change the return number to check the network more or less often, in seconds).If current configuration of myVPN is not connected then Tell current location of network preferences Copy and paste the following AppleScript syntax into the new blank script editor:.Open “Script Editor” on the Mac, it is found within the /Applications/Utilities/ folder.Essentially what we’re doing is placing a connection script into Login Items so that it loads automatically on system start and user login events: This auto-connect VPN script should work on any version of macOS or Mac OS X system software. How to Connect to VPN on Boot or Login in Mac OS X, Automatically If you do not have or use a VPN (Virtual Private Network), then this trick will be of little use to a particular Mac. Obviously you’ll need an active VPN service and VPN location setup in Mac OS for this script to work, otherwise the script will have nothing to connect to upon login and system boot.
0 Comments
Leave a Reply. |