Pass Variables into Script

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

todd098

Pass Variables into Script

Post by todd098 »

I'm looking for suggestions on how to pass variables into a script.

Right now I have some scripts that prompt the user to select a couple options when they run the script. However, these settings do not need to be set each time the script is run and it slows down the workflow. Ideally, the user could edit these parameters without being prompted each time the script is run.

My initial thought would be a photoshop panel with checkboxes. Check the settings you need, run the script, and pass in the variables set from the checkboxes in the panel.

Does this sound like the best way to handle this situation? I've looked at creating panels and it seems fairly complex. Does anyone know of a panel "shell" that is out there to pass variables into a script?

Thanks for the help!