Does as it says Turns Off And On Your VPN
You can add it to do only one VPN in the Shortcuts App SORRY BUT NO MORE UPDATES
What's New
Version 1.0
First release
What it does
7 actions-
Choose from MenuWhich One?
-
Choose from MenuToggle On
-
Vpn Set
-
Choose from MenuToggle Off
-
Vpn Set
-
Choose from MenuImmediate Toggle
-
Vpn Set
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#define color taupe
#define glyph network
menu "Which One?" {
item "Toggle On":
rawAction("is.workflow.actions.vpn.set", {
"WFVPN": "Ask"
})
item "Toggle Off":
rawAction("is.workflow.actions.vpn.set", {
"WFVPN": "Ask",
"WFVPNOperation": "Disconnect"
})
item "Immediate Toggle":
rawAction("is.workflow.actions.vpn.set", {
"WFVPN": "Ask",
"WFVPNOperation": "Toggle"
})
}
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by whyyouneed
You Might Also Like
Advertisement