- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello @JhoelForshav and @fullevent!
I have made two tests first I checked all the names of all the files to search for some spelling mistakes. I built a table in Excel and used a formula to check the spelling, and all the files names are correct with the names in ilogic code (see table below)
| Names in iLogic code without "" | File names | Verification | |
| sFilesToCopy(0) = | DEPT-YYYY-XXX-05-01 SUPPORT.ipt | DEPT-YYYY-XXX-05-01 SUPPORT.ipt | TRUE |
| sFilesToCopy(1) = | DEPT-YYYY-XXX-05-01 SUPPORT.dwg | DEPT-YYYY-XXX-05-01 SUPPORT.dwg | TRUE |
| sFilesToCopy(2) = | DEPT-YYYY-XXX-04-01 EXTERNAL PLATE.ipt | DEPT-YYYY-XXX-04-01 EXTERNAL PLATE.ipt | TRUE |
| sFilesToCopy(3) = | DEPT-YYYY-XXX-04-01 EXTERNAL PLATE.dwg | DEPT-YYYY-XXX-04-01 EXTERNAL PLATE.dwg | TRUE |
| sFilesToCopy(4) = | DEPT-YYYY-XXX-03-01 INTERNAL PLATE.ipt | DEPT-YYYY-XXX-03-01 INTERNAL PLATE.ipt | TRUE |
| sFilesToCopy(5) = | DEPT-YYYY-XXX-03-01 INTERNAL PLATE.dwg | DEPT-YYYY-XXX-03-01 INTERNAL PLATE.dwg | TRUE |
| sFilesToCopy(6) = | DEPT-YYYY-XXX-02-01 SIDE LEFT PLATE.ipt | DEPT-YYYY-XXX-02-01 SIDE LEFT PLATE.ipt | TRUE |
| sFilesToCopy(7) = | DEPT-YYYY-XXX-02-01 SIDE LEFT PLATE.dwg | DEPT-YYYY-XXX-02-01 SIDE LEFT PLATE.dwg | TRUE |
| sFilesToCopy(8) = | DEPT-YYYY-XXX-01-01 SIDE RIGHT PLATE.ipt | DEPT-YYYY-XXX-01-01 SIDE RIGHT PLATE.ipt | TRUE |
| sFilesToCopy(9) = | DEPT-YYYY-XXX-01-01 SIDE RIGHT PLATE.dwg | DEPT-YYYY-XXX-01-01 SIDE RIGHT PLATE.dwg | TRUE |
The result of the second test it's much more interesting.
I ran the code from @JhoelForshav an received the information about issues in all other files (except those two that is working), and clicked ok in each message and as result, all files were copied and renamed correctly to the destination folder. Exactly as we desire.
Looks like the verification lines made by @JhoelForshav does the code reinitiated and copy the files.
I don't understand all lines in the code but I think we are almost there.
Something after the message make the code run correctly.
Maybe is necessary remove the message and keep the verification lines that is working.
Once more thanks you two.
Best regards,