Fixed an error in dojs.vbs where arguments were being split.

* Fixed SetText() to update bounds.
This commit is contained in:
Unknown
2018-04-29 21:37:58 -04:00
parent 0b9e1661c4
commit 0d8be61858
4 changed files with 18 additions and 8 deletions

View File

@@ -4,9 +4,11 @@ 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, ","))
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