-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Description
Hello.
I need to use Photoshop API in a threading or multiprocessing function in python but i seems to be impossible.
Can you help me ? Many thanks
I write a sample example :
##############################
import photoshop.api as ps
def testPS():
try:
app = ps.Application()
app.load("test.psd")
except Exception as e:
print (e)
import time
import multiprocessing
p = multiprocessing.Process(target=testPS)
p.start()
p.join()
print ("***")
from threading import Thread
t1 = Thread(target=testPS)
t1.start()
t1.join()
print ("***")
Metadata
Metadata
Assignees
Labels
No labels