mirror of
https://github.com/sbrow/ps.git
synced 2025-12-29 18:47:38 -05:00
10 lines
254 B
Plaintext
10 lines
254 B
Plaintext
|
|
Dim appRef
|
|
Set appRef = CreateObject("Photoshop.Application")
|
|
if wScript.Arguments.Count = 0 then
|
|
wScript.Echo "Missing parameters"
|
|
else
|
|
path = wScript.Arguments(0)
|
|
args = wScript.Arguments(1)
|
|
appRef.DoJavaScriptFile path, Split(args, ",")
|
|
end if |