by Christian Hinxlage » Mon Jun 27, 2016 10:42 am
Hi Matze,
yes that´s possible with the script:
ResourceSetID,ProjectPath,FolderID,FileID
If your project folder is a watched folder, it will automatically refresh when you add content to the referring folder on your harddisk.
That´s what the watched folder is made for.
If you want to refresh the folder and file id´s within your watched folder via the Widget Designer you have to be aware of the following.
Changing the ID´s in Pandoras Box manually will show up a warning that the ID´s you want to change are in use.
To bypass this warning, since you are changing the id´s via the widget designer, you have to first change the id´s to some that are not yet taken within your Pandoras Box project and then change them to the id´s you want.
For example:
You have a watched folder and the files are labeled 1,1 to 1,15.
Now you add 2 more files. They will show up in the project tree immediately but without ID.
With a custom script buttom use the following script to change the id´s to 1,1 to 1,17
ResourceSetID,ProjectPath,99,1
wdwait,2
ResourceSetID,ProjectPath,1,1
Hope that helps,
Best regards
Christian