0
I want to run jsx script and passing argument into array
Im getting the first argument in JSXFile but not getting all arguments in infosDoc so im a bit confuse, if someone can help me!
Thanks you!
I want to run jsx script and passing argument into array
Code:
Const psNeverShowDebugger = 1, psDebuggerOnError = 2, psBeforeRunning = 3
Dim appRef
Set appRef = CreateObject("Photoshop.Application")
Dim infosDoc
infosDoc = Wscript.arguments()
Dim JSXFile
JSXFile = Wscript.arguments(0)
appRef.DoJavaScriptFile "C:\Program Files\Adobe\Adobe Photoshop 2020\Presets\Scripts\"+JSXFile+".jsx", Array(infosDoc), psNeverShowDebuggerThanks you!