AppleScript to quit Transmission App

by Abdallah Anwar   Last Updated October 19, 2019 20:12 PM

I need help fixing AppleScript for an app called "Transmission"

I am trying to write code to get it to quit once downloads are finished

Is this the proper code:

-- Quit Transmission, if running

tell application "System Events" if ((count (every process whose name is "Transmission Download")) = 0) then tell application "Transmission" -- Quit Transmission quit end tell end if end tell



Related Questions


Updated June 16, 2015 02:05 AM

Updated July 08, 2018 12:12 PM

Updated May 15, 2015 01:05 AM

Updated December 27, 2017 03:12 AM