View Single Post
  #1097  
Old 25.02.2020, 12:37
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,553
Default

Quote:
Originally Posted by sherbee View Post
Does have a trigger for shutdown? I start 3rd party app on trigger JD start. Now I need to terminate when JD stops.
While there isn't a "shutdown" trigger, you can first close the 3rd party app from the script and then use the MYJD API call to "exitJD" or "shutdownOS". You can either use a suitable trigger or create eventscripter button to execute the script.

Quote:
1. Is links with this error included in running downloads from getRunningDownloadLinks()?
No.

Quote:
2. Or is better to check for myDownloadLink.getStatus()? Would value to check be "An Error occured!" like written in download list?
Temporary messages cannot be accessed using "getStatus" method. Try the follwing method:
Code:
var myConditionalSkipReason = myDownloadLink.getConditionalSkipReason();
Reply With Quote