Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Best method for calling Python from JavaScript in PS?

Community Beginner ,
Feb 14, 2020 Feb 14, 2020

Hi all,

 

I'm looking to call an external Python script from my Javascript running inside PS. My js will pass python some sysvars and will need some data back.

 

Some intial examples invovled using the child_process() method from node.js worked in isolation, but not within PS. I'm starting to try out direct ajax calls based on this stackoverflow thread. Can anyone confirm if this is the correct/current best path forard?

https://stackoverflow.com/questions/13175510/call-python-function-from-javascript-code

 

thanks in advance, 

pete

TOPICS
Actions and scripting , Windows
919
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Beginner ,
May 28, 2020 May 28, 2020
LATEST

Hey,

Maybe this is what you are looking for:

 

https://github.com/loonghao/photoshop-python-api

Cheers,

Hal

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines