I have a script that I want to run every few seconds that detects whether I'm on the VPN for work or not, is that not supported?
top of page

To see this working, head to your live site.
Evaluate the return from Shell script?
Evaluate the return from Shell script?
2 answers0 replies
Like
Comments (2)
Commenting on this post isn't available anymore. Contact the site owner for more info.
bottom of page
Hi Charles, we are adding VPN detection in 1.6.3 so this may be an easier option.
Hi Charles,
The best bet to achieve that would be to :
have your script run every few seconds using launchd, if you prefer a gui option use Lingon: https://www.peterborgapps.com/lingon/
The script should save a text file somewhere, if the VPN is running the file contents should be the text: true, if not running : false.
Then have Trypa look in that text file and match the word true and trigger the desired shortcut. Set it up like this:
Let me know if this is what you mean.