Search found 9 matches

by galtar53
23 Jun 2020 15:54
Forum: Script Exchange
Topic: Create Directory with Multiple subs?
Replies: 31
Views: 1433

Re: Create Directory with Multiple subs?

move not drag^^ $dstPath = <curpath>; $subFolders = "Enquête Juridique|Enquête Parcellaire"; $allFiles = listpane(, , 1+4, <crlf>); // Use only those that follow a pattern $srcFolders = regexmatches($allFiles, "^.+?(?=-)", <crlf>); // Remove duplicates $srcFolders = formatlist($srcFolders, "sed", <...
by galtar53
23 Jun 2020 15:36
Forum: Script Exchange
Topic: Create Directory with Multiple subs?
Replies: 31
Views: 1433

Re: Create Directory with Multiple subs?

Drag = Manual operation. You mean "move" (something that can be done automatically via scripting)? In other words, you want all files in the root directory with the same leading part (everything before the first "-") be moved into <leading part folder>\Enquête Parcellaire automatically without any ...
by galtar53
23 Jun 2020 15:27
Forum: Script Exchange
Topic: Create Directory with Multiple subs?
Replies: 31
Views: 1433

Re: Create Directory with Multiple subs?

Sorry but I don't understand the question... I mean: I Have several files named "P18943-Minute-PV.pdf"; "P18943-ZN2.pdf"; "P18943-Plan.pdf"; "P18943-Plan.dxf" either drag into their directory name "P18943" and especially in the subfolder "Enquête Parcellaire". the attached image will explain the re...
by galtar53
23 Jun 2020 13:28
Forum: Script Exchange
Topic: Create Directory with Multiple subs?
Replies: 31
Views: 1433

Re: Create Directory with Multiple subs?

Ok, I guess this is what you are looking for... $dstPath = <curpath>; $subFolders = "Enquête Parcellaire|Enquête Juridique"; $allFiles = listpane(, , 1+4, <crlf>); // Use only those that follow a pattern $srcFolders = regexmatches($allFiles, "^.+?(?=-)", <crlf>); // Remove duplicates $srcFolders = ...
by galtar53
23 Jun 2020 11:10
Forum: Script Exchange
Topic: Create Directory with Multiple subs?
Replies: 31
Views: 1433

Re: Create Directory with Multiple subs?

And why exactly doesn't the script work for you in that case? Go into the folder where you want to create "P18943", run the script, paste "P18943" in the little that popped up, done... $dstPath = <curpath>; $subFolders = "Enquête Parcellaire|Enquête Juridique"; $folderName = input("Enter the desire...
by galtar53
22 Jun 2020 17:21
Forum: Script Exchange
Topic: Create Directory with Multiple subs?
Replies: 31
Views: 1433

Re: Create Directory with Multiple subs?

Maybe you provide an excerpt of folders including their subfolders you want to create? see the attached file for example : I) parent file: P18943 1) Sub-folder 1: "Enquête Parcellaire" 2) Subfolder 2: "Enquête Juridique". moreover I want to drag files which have the same prefix as the Parent folder...
by galtar53
22 Jun 2020 13:23
Forum: Script Exchange
Topic: Create Directory with Multiple subs?
Replies: 31
Views: 1433

Re: Create Directory with Multiple subs?

RalphM wrote:
22 Jun 2020 03:37
Check out the script above by highend and adapt it to your needs.

but the problem is how to make several directories, the script gives me only one directory to do, because I have a list of directories, and I want to do it once without starting the script each time to do one directory.
by galtar53
21 Jun 2020 21:41
Forum: Script Exchange
Topic: Create Directory with Multiple subs?
Replies: 31
Views: 1433

Re: Create Directory with Multiple subs?

Welcome to the forum. As the number of French speaking forum members is certainly less than the English speaking ones, you will get more replies if you manage to post in English. Ok Thanks I want a lisp to create several directories according to a known list, and inside this directory I want to mak...
by galtar53
21 Jun 2020 14:40
Forum: Script Exchange
Topic: Create Directory with Multiple subs?
Replies: 31
Views: 1433

Re: Create Directory with Multiple subs?

bonjour,
je veux créer plusieur répertoire suivant une liste connue, et à l'interieur de c'est répertoire je veux faire des sous dossiers spécifique.
CORDIALEMENT