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.
|