I have a button in WD that sets IDs for all resources in a given folder and then downloads new thumbnails, thus automatically populating a Media Control panel with new content.
If I have a folder of all new content (no IDs assigned to anything), this button works as intended and IDs all of the content starting from 1. However, if I add a new asset to that same folder and trigger the script again, the new content does not get ID'd. Effectively the ResourceSetID command only works once.
I thought about maybe needing to clear all existing IDs within the folder first, but cannot find a command that does that.
Appreciate any help. Thanks!
Custom Script Contents:
- Code: Select all
ResourceSetID("02_Mens_Basketball",2,1)
WDWait(1)
WDDownloadThumbnails()
WD 6322 / Win 10 Pro