Vuze Forums

Full Version: Use "Last Active" torrent stat in a tag
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

So I want to add torrents to a Tag based on the "Last Active" value(from torrent info tab), It seemed as thet should be available via JavaScript.

So looking through the API documentation, the DownloadStats seemed the best place for it, but I can't find it.
I have found other stats I need so I think I have been looking in the (mostly) right place.

So how can I get and use the "Last Active" torrent stat in a Tag?

jonib
Sorry for the late reply, I kinda forgot to check the forum.
(06-22-2016, 09:32 AM)parg Wrote: [ -> ]Check out http://wiki.vuze.com/w/JavaScript#Assign...ast_Active
Thank you for the code, a bit more involved then I had thought based on the other info that was much easier to gather.
So I wasn't blind and/or crazy for not finding the command for it. :-O

I love the JavaScript support for tags (and other places) gives you the power of a plugin without having to do a plugin. :-)

jonib
anytime :)