Search found 2 matches
- Thu Nov 04, 2010 2:37 pm
- Forum: General
- Topic: Script to quit automatically if VPN fails
- Replies: 11
- Views: 65415
Re: Script to quit automatically if VPN fails
I know it's possible to make it by script, but i can'T remember how. So the easier way is to disable the prompt in Transmission preferences, "general" tab, uncheck "Prompt user for : Quit with active transfers"
- Mon Oct 18, 2010 12:29 pm
- Forum: General
- Topic: Script to quit automatically if VPN fails
- Replies: 11
- Views: 65415
Re: Script to quit automatically if VPN fails
Hi
I made a lot of research on this and here is what works for me.
since we can't know if Transmission is paused or not with applescript, we have to quit and restart the app according to vpn status
on idle
tell application "System Events"
tell current location of network preferences
set ...
I made a lot of research on this and here is what works for me.
since we can't know if Transmission is paused or not with applescript, we have to quit and restart the app according to vpn status
on idle
tell application "System Events"
tell current location of network preferences
set ...