Skip to main content
Participant
June 11, 2018
Question

Passing arguments to Photoshop extension

  • June 11, 2018
  • 1 reply
  • 405 views

Hi,

I'm currently working on a Photoshop panel extension. I would like to transmit some data to my extension when launching Photoshop. Currently, I'm storing those data in a file, then reading the data file inside my extension. I would rather pass those data as arguments in a command line used to launch Photoshop, and then catch those arguments from within the extension.

Is there a way to do this? If not, do you think this will be possible in a future release?

This topic has been closed for replies.

1 reply

Trevor:
Legend
June 11, 2018

In my CSTK extension I read the  command line used for launching the apps. You can look at the code there (For Mac and Windows) and see if you can pick up custom arguments. I can't see why you shouldn't.

GitHub - Trevor-/CSTK: Adobe HTML extension Console for js, jsx and shell and extensions development help

Participant
June 12, 2018

Thank you Trevor, I'm gonna have a look at it.