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

Discuss and share scripts and script files...
Post Reply
NokTham
Posts: 5
Joined: 11 Sep 2012 14:29

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

Post 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

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

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

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

NokTham
Posts: 5
Joined: 11 Sep 2012 14:29

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

Post 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!!!

Post Reply