Page 1 of 1

Copy to Clipboard [Names of folders -> sub folders -> files

Posted: 13 Oct 2012 02:04
by NokTham
hi all i would like to know if its even possible to make a script which can copy the names of a folder, subfolders names (which are inside the primary folder) and the files names (which are inside the subfolders), i find this hard to imagine lol, wounder if its possible,

and when that info was paste onto a txt it would show something like this:

Folder name
Subfolder1
filename1

subfolder2
filename2

subfolder3
subsubfolder3
filename3

thank you

Re: Copy to Clipboard [Names of folders -> sub folders -> fi

Posted: 13 Oct 2012 02:15
by nas8e9
It should be possible by scripting the Report functionality, which can be accessed in the UI through the Info Panel (Window > Show Info Panel, Report tab). I can't help you with such a script, unfortunately.

If you don't need the exact format you described, trying the options in the UI and copying the results to the clipboard with the respective button, may get you some way already.

Re: Copy to Clipboard [Names of folders -> sub folders -> fi

Posted: 13 Oct 2012 02:56
by NokTham
i've tried what you said, it worked great in some way, its only lacking the files names, the folders and subfolders names were copied to the clipboard and able to paste it with a tree view, which is great, ill try to figure out a way to get the files names as well, thanks for the tip!!!