lohriialo / photoshop-scripting-python

Scripting in Photoshop is used to automate a wide variety of repetitive task or as complex as an entire new feature
485 stars 95 forks source link

MemoryError: CreatingSafeArray #5

Closed UnlimitedBoy closed 4 years ago

UnlimitedBoy commented 5 years ago

app = Dispatch("Photoshop.Application") img_ref = ( 'C:\Users\Owlii\Desktop\psdemo\jingkong\1.png', 'C:\Users\Owlii\Desktop\psdemo\jingkong\2.png', 'C:\Users\Owlii\Desktop\psdemo\jingkong\3.png')

actions = [ 'Action 1', 'Action 2']

app.Batch(InputFiles=img_ref, Action=actions[0], From=actions)

thanks for your time!