Search found 33 matches

by foxpalace
Tue May 29, 2012 2:26 pm
Forum: LEGACY scripting
Topic: Week of Year
Replies: 1
Views: 4348

Week of Year

Hi, I misted some times the function YearOfWeek in Enfocus-Scripting, so i write once for it. Here the result for all of the users: function jobArrived( s : Switch, job : Job ) { var DatumAktuell = new Date(); var DieseWoche = ""; var Jan1 = new Date(DatumAktuell.getYear()); var DiesesJahr...
by foxpalace
Mon Dec 05, 2011 8:33 pm
Forum: LEGACY scripting
Topic: Copy file to folder-script?
Replies: 1
Views: 5158

Copy file to folder-script?

here is a example - you had to modify it, but it should show the way function jobArrived( s : Switch, job : Job ) { var pfad = job.getPath()+"/Bilder/"; var myDirectory = new Dir(pfad); var source = myDirectory.entryList("*.jpg", Dir.Files, Dir.Name); for (var i = 0; i < source.l...
by foxpalace
Mon Dec 05, 2011 8:18 am
Forum: LEGACY scripting
Topic: new Dataset for UngroupJob
Replies: 3
Views: 6803

new Dataset for UngroupJob

Hello, i have a problem with ungroupjob - i get a folder within pdf-files in a extra folder. so i use ungroupjob to preflight the pdf-files. If the Preflight reports a error, i would like to use a extra html-outputfile with log-information. Now it is clear, that the job can't assemble correct, becau...