diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dcc0a31 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +backup/ \ No newline at end of file diff --git a/AddSheetSizesToPrinter.dyn b/AddSheetSizesToPrinter.dyn new file mode 100644 index 0000000..01f2eba --- /dev/null +++ b/AddSheetSizesToPrinter.dyn @@ -0,0 +1,518 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + from System.Diagnostics import Process + +proc = Process() +proc.StartInfo.UseShellExecute = False +proc.StartInfo.RedirectStandardOutput = True +proc.StartInfo.RedirectStandardError = True +proc.StartInfo.FileName = "C:\Program Files (x86)\Winforms\winforms-1.0.1.exe" +proc.Start() +stdout = proc.StandardOutput.ReadToEnd() +stderr = proc.StandardError.ReadToEnd() +proc.WaitForExit() +OUT = (stdout,stderr) + + + + + + + + + + + + + + + + + + True + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + from System.Diagnostics import Process + +args = IN[0] +stdoutlist = [] +stderrlist = [] + +for x in args: + proc = Process() + proc.StartInfo.UseShellExecute = False + proc.StartInfo.RedirectStandardOutput = True + proc.StartInfo.RedirectStandardError = True + proc.StartInfo.FileName = "C:\Program Files (x86)\Winforms\winforms-1.0.1.exe" + proc.StartInfo.Arguments = x + proc.Start() + stdout = proc.StandardOutput.ReadToEnd() + stderr = proc.StandardError.ReadToEnd() + proc.WaitForExit() + stdoutlist.append(stdout) + stderrlist.append(stderr) +OUT = (stdoutlist,stderrlist) + + + + + + + + + + + + + + + + + + True + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/winforms-1.0.1.sfx.exe b/winforms-1.0.1.sfx.exe new file mode 100644 index 0000000..8edffb3 Binary files /dev/null and b/winforms-1.0.1.sfx.exe differ