Author
Topic: Contact Sheet Maker query... (Read 2058 times)

A quick query regarding the Contact Sheet Maker from the 'Downloads'.I've downloaded the script and had a play and it does exactly what it says on the tin which is great :-)I was just wondering how easy it would be to tweak the script so it does subfolders too?

Sorry for the delayed response. Here is what I use for "recursive folders". Just set the Traverse variable to true and it will do as you wish.

Sorry I do not have the time to plug this in the mentioned script but in short you will need to make FileList into a property and have the ProcessFile handler populating it.

Quote

001onProcessFile(ThisFile)002-- What to do with the file003endProcessFile

004onProcessFolder(ThisFolder,Traverse)005setFolderListtolist folderThisFolderwithoutinvisibles006repeatwithThisIteminFolderList007set{folder:IsAFolder}toinfo foralias((ThisFolder&ThisItem)astext)008ifIsAFolderthen009-- What to do with the folder010ifTraversethen011myProcessFolder((ThisFolder&ThisItem&":")astext,Traverse)012endif013else014myProcessFile((ThisFolder&ThisItem)astext)015endif016endrepeat017endProcessFolder

Note:• The line numbers included with this script are there to aid future discussions. In order to use this script, you will have to strip all of them.