View Single Post
  #1640  
Old 08.01.2021, 17:57
SMS SMS is offline
Mega Loader
 
Join Date: Jun 2019
Posts: 64
Default

How do I tell the Event Scripter to add/download a certain link to a different custom local filnename (instead of the original online filename)?

addLinks doesn't seem to have a "filename" or "saveAs" argument.

Also the myObject coming out of
myObject = callAPI("linkgrabberv2", "addLinks", {"links": myURL});
doesn't seem to have .setName()
What methods and properties does it have, how do I use it? The API documentation says that it's a boolean, but I see an number called "id" inside.

Maybe I should somehow use renameLink, but how do I get the linkId from myObject? If I try to use myObject or myObject.id as the linkID, I get a null pointer exception.

Last edited by SMS; 08.01.2021 at 19:46.
Reply With Quote