"XactSrcInprod.jsx" ofdesk read "___xact___" _Xact replall "XactSrc" jsx!desk '//+Templar //* var doc; NeedP = false; NeedX = false; XactSrc(); var srcxp = SourcePath + "TacWv_1876_vGaller"; SourceImage = [ TargetPath + "Mq.jpg", TargetPath + "Mk.jpg", TargetPath + "Mj.jpg", TargetPath + "Mm.jpg", TargetPath + "Mt.jpg", TargetPath + "Ms.jpg", TargetPath + "Mp.jpg", TargetPath + "Mr.jpg" ]; Template = srcxp + "y1.psd"; // print HostData("Template"); app.open(new File(Template)); OrigDoc(); Templax(selTem); FlatClosed(WorkingDoc,TargetDocName+".jpg"); doc = app.activeDocument; doc.close(SaveOptions.DONOTSAVECHANGES); SourceImage = [ TargetPath + "Mq.jpg", TargetPath + "Mk.jpg", TargetPath + "Mj.jpg", TargetPath + "Mm.jpg", TargetPath + "Mt.jpg", TargetPath + "Ms.jpg", TargetPath + "Mp.jpg", TargetPath + "Mr.jpg" ]; Template = srcxp + "y2.psd"; // hat HostData("Template"); app.open(new File(Template)); OrigDoc(); Templax(selTem); FlatClosed(WorkingDoc,TargetDocName+".jpg"); doc = app.activeDocument; doc.close(SaveOptions.DONOTSAVECHANGES); SourceImage = [ TargetPath + "Mq.jpg", TargetPath + "Mk.jpg", TargetPath + "Mj.jpg", TargetPath + "Mm.jpg", TargetPath + "Mt.jpg", TargetPath + "Ms.jpg", TargetPath + "Mp.jpg", TargetPath + "Mr.jpg" ]; Template = srcxp + "y3.psd"; // canvas HostData("Template"); app.open(new File(Template)); OrigDoc(); Templax(selTem); FlatClosed(WorkingDoc,TargetDocName+".jpg"); doc = app.activeDocument; doc.close(SaveOptions.DONOTSAVECHANGES); SourceImage = [ TargetPath + "Mq.jpg", TargetPath + "Mk.jpg", TargetPath + "Mj.jpg", TargetPath + "Mm.jpg", TargetPath + "Mt.jpg", TargetPath + "Ms.jpg", TargetPath + "Mp.jpg", TargetPath + "Mr.jpg" ]; Template = srcxp + "y4.psd"; // hoodie HostData("Template"); app.open(new File(Template)); OrigDoc(); Templax(selTem); FlatClosed(WorkingDoc,TargetDocName+".jpg"); doc = app.activeDocument; doc.close(SaveOptions.DONOTSAVECHANGES); SourceImage = [ TargetPath + "Mq.jpg", TargetPath + "Mk.jpg", TargetPath + "Mj.jpg", TargetPath + "Mm.jpg", TargetPath + "Mt.jpg", TargetPath + "Ms.jpg", TargetPath + "Mp.jpg", TargetPath + "Mr.jpg" ]; Template = srcxp + "z1.psd"; // sweat HostData("Template"); app.open(new File(Template)); OrigDoc(); Templax(selTem); FlatClosed(WorkingDoc,TargetDocName+".jpg"); doc = app.activeDocument; doc.close(SaveOptions.DONOTSAVECHANGES); SourceImage = [ TargetPath + "Mq.jpg", TargetPath + "Mk.jpg", TargetPath + "Mj.jpg", TargetPath + "Mm.jpg", TargetPath + "Mt.jpg", TargetPath + "Ms.jpg", TargetPath + "Mp.jpg", TargetPath + "Mr.jpg" ]; Template = srcxp + "z2.psd"; // socks HostData("Template"); app.open(new File(Template)); OrigDoc(); Templax(selTem); FlatClosed(WorkingDoc,TargetDocName+".jpg"); doc = app.activeDocument; doc.close(SaveOptions.DONOTSAVECHANGES); SourceImage = [ TargetPath + "Mq.jpg", TargetPath + "Mk.jpg", TargetPath + "Mj.jpg", TargetPath + "Mm.jpg", TargetPath + "Mt.jpg", TargetPath + "Ms.jpg", TargetPath + "Mp.jpg", TargetPath + "Mr.jpg" ]; Template = srcxp + "z3.psd"; // mug HostData("Template"); app.open(new File(Template)); OrigDoc(); Templax(selTem); FlatClosed(WorkingDoc,TargetDocName+".jpg"); doc = app.activeDocument; doc.close(SaveOptions.DONOTSAVECHANGES); SourceImage = [ TargetPath + "Mq.jpg", TargetPath + "Mk.jpg", TargetPath + "Mj.jpg", TargetPath + "Mm.jpg", TargetPath + "Mt.jpg", TargetPath + "Ms.jpg", TargetPath + "Mp.jpg", TargetPath + "Mr.jpg" ]; Template = srcxp + "z4.psd"; // puzzle HostData("Template"); app.open(new File(Template)); OrigDoc(); Templax(selTem); FlatClosed(WorkingDoc,TargetDocName+".jpg"); doc = app.activeDocument; doc.close(SaveOptions.DONOTSAVECHANGES); HostData("Xact"); Continuing("donexacf"); ' *phocperf