Added back in v1

This commit is contained in:
Unknown
2018-07-25 15:20:00 -04:00
parent 6b8626e4be
commit f64ea7a84c
48 changed files with 3215 additions and 0 deletions

11
runner/scripts/action.vbs Normal file
View File

@@ -0,0 +1,11 @@
' Runs an action with the given name (Argument 1) from the given set (Argument 0).
set appRef = CreateObject("Photoshop.Application")
' No dialogs.
dlgMode = 3
set desc = CreateObject( "Photoshop.ActionDescriptor" )
set ref = CreateObject( "Photoshop.ActionReference" )
Call ref.PutName(appRef.CharIDToTypeID("Actn"), wScript.Arguments(1))
Call ref.PutName(appRef.CharIDToTypeID("ASet"), wScript.Arguments(0))
Call desc.PutReference(appRef.CharIDToTypeID("null"), ref)
Call appRef.ExecuteAction(appRef.CharIDToTypeID("Ply "), desc, dlgMode)