Change Category on completion

Ask for help and report issues with the Mac OS X version of Transmission
Post Reply
jmaynard
Posts: 6
Joined: Mon Jul 08, 2019 8:52 am

Change Category on completion

Post by jmaynard » Mon Jul 08, 2019 8:55 am

I'm looking for a script that will change the Group (category) of a torrent when it has completed downloading.
Any help/guidance appreciated.

JM

jmaynard
Posts: 6
Joined: Mon Jul 08, 2019 8:52 am

Re: Change Category on completion

Post by jmaynard » Wed Jul 10, 2019 9:46 am

To be a bit more specific:
I'm OK writing AppleScript but not too familiar with Transmission; I would like to know the relevant entries to address a completed torrent and then to address that torrent's Group.
thanks

jmaynard
Posts: 6
Joined: Mon Jul 08, 2019 8:52 am

Re: Change Category on completion

Post by jmaynard » Thu Jul 11, 2019 1:26 pm

I figured out how to change the Group of a highlighted Torrent in AppleScript:

click menu item "Done" of menu 1 of menu item "Group" of menu 1 of menu bar item "Transfers" of menu bar 1

just need to know how to select the completed Torrent (out will that be highlighted when the script is called?)
thanks

jmaynard
Posts: 6
Joined: Mon Jul 08, 2019 8:52 am

Re: Change Category on completion UPDATE

Post by jmaynard » Thu Jul 11, 2019 3:01 pm

UPDATE
the completed Torrent is NOT highlighted when the completed message is displayed - so my script is not yet complete. I need to know how to reference a completed torrent in appleScript please...

jmaynard
Posts: 6
Joined: Mon Jul 08, 2019 8:52 am

Re: Change Category on completion UPDATE 2

Post by jmaynard » Fri Jul 12, 2019 8:11 am

The app is not launched when a torrent completes.
Does this mean that Transmissionbt does not work with AppleScript?

jmaynard
Posts: 6
Joined: Mon Jul 08, 2019 8:52 am

Re: Change Category on completion - UPDATE 3

Post by jmaynard » Fri Jul 12, 2019 8:46 am

Checked the log file and my script is called - but it is not executed. Any ideas appreciated..

Post Reply