1

I'm using Photoshop to automate processing images using action sets. I have added javascript to one of my action sets. I want to issue a windows command line prompt using the javascript. Is this possible? Is there some type of system_exec() function for doing this?

Edit: Here's an easy test

app.system("mshta javascript:alert(\"Hello World\");close();");

1 Answer 1

3

You can do this:

app.system("some Windows command")

E.g.

app.system("echo hi > C:\hi.txt")
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.