schleifer Posted January 22, 2013 Share Posted January 22, 2013 Howdy All, I've written a workflow that works with Viscosity, which you can use to start or stop OpenVPN connections. The configured keyword is 'vpn'. That will show all of your configured networks: And autocomplete (case-insensitively) on the argument, if one is provided: You can inspect the source on Github. Here's some commands you can run in Terminal that will import it into Alfred: cd ~/Library/Application\ Support/Alfred\ 2/Alfred.alfredpreferences/workflows curl https://nodeload.github.com/andrewschleifer/viscosity-alfredworkflow/zip/master > \ viscosity-alfredworkflow.zip unzip viscosity-alfredworkflow.zip rm viscosity-alfredworkflow.zip New Feature Update: 1. The subtitle now tells you if actioning that selection will connect or disconnect from that network. 2. There are Connect All/Disconnect All operations that will act on all VPN connections you've defined. brank87, DJay and thec13 3 Link to comment
JvdMeulen Posted January 31, 2013 Share Posted January 31, 2013 Download doesn't work anymore, can you up it again somewhere? Link to comment
twinpeaks Posted February 7, 2013 Share Posted February 7, 2013 Just zip up the github files. If you want I will upload a copy that I zipped but it won't be from the dev directly... let me know. Link to comment
schleifer Posted February 15, 2013 Author Share Posted February 15, 2013 Download doesn't work anymore, can you up it again somewhere? I've updated the original post to remove the dead link and described how to load the workflow into Alfred. Link to comment
danieldk Posted February 17, 2013 Share Posted February 17, 2013 I had made a Viscosity workflow before I noticed yours: https://github.com/danieldk/viscosity-workflow Mine also shows the server names as the subtitles. But yours is definitely more reliable against changes in configuration file paths . twinpeaks 1 Link to comment
twinpeaks Posted February 17, 2013 Share Posted February 17, 2013 I really like how the subtext shows the ip of the vpn. Thanks for sharing. Link to comment
schleifer Posted February 21, 2013 Author Share Posted February 21, 2013 I had made a Viscosity workflow before I noticed yours: https://github.com/danieldk/viscosity-workflow Mine also shows the server names as the subtitles. But yours is definitely more reliable against changes in configuration file paths . I agree with twinpeaks -- Showing the hostname is a really cool addition. Your version also doesn't need the app running to get the list of connections. Link to comment
schleifer Posted February 25, 2013 Author Share Posted February 25, 2013 I've added a couple new features and updated the main post to describe them. Link to comment
pgseye Posted March 23, 2013 Share Posted March 23, 2013 Hi Andrew, I'm keen to use your workflow, but am having problems getting it to show in Alfred. I've downloaded the zip file from Github, but I'm not sure what to do from here? I've tried renaming the zip extension to .alfredworkflow, amongst other things. Otherwise I have tried directly importing using the commands you've given in Terminal, but it just doesn't show in the workflows pane. Any thoughts would be appreciated. Thanks, Paul Link to comment
rrosson Posted April 19, 2013 Share Posted April 19, 2013 I am having the same issue. so please share a workable copy of the latest version Link to comment
a-b Posted September 16, 2013 Share Posted September 16, 2013 Any chance to pack this workflow and add to the http://www.alfredworkflow.com ? Link to comment
kumters Posted September 17, 2013 Share Posted September 17, 2013 Agreee, cause that .zip file from GitHub doesn't work anymore..... Thank you Link to comment
kumters Posted September 29, 2013 Share Posted September 29, 2013 LOL, I wrote email to Andrew and he sent me back the same guide as it's here, but it's working.... Now it's workflow flawlessssssssss. Thank you PJ Link to comment
DJay Posted May 17, 2014 Share Posted May 17, 2014 After all these years.. Thanks a lot for this workflow. Even today OS X 10.0.3 Alfred 2.3 it works great with Viscosity 1.4.8. Thanks! Link to comment
Don Dahl Posted July 20, 2014 Share Posted July 20, 2014 I once used this workflow but after i freshened up my mac i've lost it. I can't seem to make it work now? I did the terminal commands, but nothing Anyone? Link to comment
jpscharf Posted August 15, 2014 Share Posted August 15, 2014 I was able to get the Andrew Schleifer's workflow working and uploaded it to my server: https://share.intergrated.net/Viscosity.alfredworkflow 69wpm, jhein and DJay 3 Link to comment
jhein Posted August 18, 2014 Share Posted August 18, 2014 I was able to get the Andrew Schleifer's workflow working and uploaded it to my server: https://share.intergrated.net/Viscosity.alfredworkflow Thank you. I always gave up after a few minutes, but this works like a charm. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now