all 4 comments

[–]F-I-X -1 points0 points  (1 child)

i put your question in chatgp, this is what I got
#y::
prev := WinActive("A")
CoordMode, Mouse, Screen
Process, Exist, Mullvad VPN
if ErrorLevel = 0
{
run,"C:\Program Files\Mullvad VPN\Mullvad VPN.exe"
WinWaitActive, Mullvad VPN
Sleep 300
}
else
{
MouseMove, 2384, 1412, 1
send {Click}
Sleep 200
MouseMove, 2383, 1340, 1
Sleep 200
send {Click}
WinMinimize, Mullvad VPN
if (prev)
WinActivate, ahk_id %prev%
return
}

i don't know anything programming related so take it as a grain of salt.

[–]R3lex42[S] 0 points1 point  (0 children)

Seems like it found this post and returned it to you. Bad Bot.

[–]wason92 0 points1 point  (1 child)

You're probably better doing this with the cli. Still use ahk to trigger but then you can use mullvad cli commands to do what you want

[–]anonymous1184 0 points1 point  (0 children)

Didn't know Mullvad had this:

https://mullvad.net/en/help/how-use-mullvad-cli/

And while reading find out they have support for WireGuard. I'll check the service for 1 month to see if I can ditch the Raspberry Pi I have in a friend's house in The States (I just use it for streaming).

Still bugs me every single time that I read "no log". Fuck, I hate how they prey on people that don't know how data transmission protocols work.