Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

dynamically run script from another script

$
0
0

I would like to setup a way to have multiple actions call the same script which then runs another script based on which action made the initial call. The purpose is to make it easier to share actions that run scripts to different users where they may have different directory structures. Since actions have hard coded paths I figured I can have all the actions call a "managing script" that handles which script is the real one that should be run.

 

I can get which action made the initial call from this post. 

Re: Getting the name of the Action that runs this script

 

I can have the action match the name of the script. However how would I then call the actual script I want to run dynamically?

 

Thank you!


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>