Fixed doc.Dump?

This commit is contained in:
Unknown
2018-08-20 17:13:28 -04:00
parent f64ea7a84c
commit 86a428abe0
7 changed files with 100 additions and 3 deletions

View File

@@ -0,0 +1,2 @@
#include lib.js
var stdout = newFile(arguments[0]);stdout.writeln(app.activeDocument.fullName);stdout.close();

View File

@@ -1,4 +1,5 @@
#include lib.js
alert(app.activeDocument.path)
var f = newFile(arguments[0]);
for (var i = 0; i < arguments.length; i++) {
f.writeln(arguments[i]);