mirror of
https://github.com/sbrow/ps.git
synced 2026-02-28 03:01:43 -05:00
Updates, Improvements, and Fixes
* Moved scripts / runner to separate package
allows future replacement with PS Plugin.
* Fixed issues with Refresh and removed "layer" function.
* Added github documentation via godocdown.
* Reduced number of calls to Panic.
* Updated Tests
* Updated documentation.
* Fixed warnings.
* .gitignore now ignores .test and .out files.
This commit is contained in:
15
runner/scripts/dojs.vbs
Normal file
15
runner/scripts/dojs.vbs
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
Dim appRef
|
||||
Set appRef = CreateObject("Photoshop.Application")
|
||||
if wScript.Arguments.Count = 0 then
|
||||
wScript.Echo "Missing parameters"
|
||||
else
|
||||
' wScript.Echo wScript.Arguments(0)
|
||||
' wScript.Echo wScript.Arguments(1)
|
||||
path = wScript.Arguments(0)
|
||||
args = wScript.Arguments(1)
|
||||
error = appRef.DoJavaScriptFile(path, Split(args, ",,"))
|
||||
if Not error = "true" and Not error = "[ActionDescriptor]" and Not error = "undefined" Then
|
||||
Err.raise 1, "dojs.vbs", error
|
||||
end if
|
||||
end if
|
||||
Reference in New Issue
Block a user