Run a script from a script?

Advocate ,
Jul 30, 2020

Copy link to clipboard

Copied

A while back I saw (i think i even made) a post about running a script from a script I have tried several search words and cannot find it. My question is can someone please Point me in the direction or just answer the question ( How do i run a script from another script? )

 

Thank you in advance.

TOPICS
Scripting

Views

116

Likes

Translate

Translate

Report

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

1 Correct Answer

Participant , Jul 30, 2020
SychevKA Participant , Jul 30, 2020
hi, i use this code : $.evalFile('/myscript.jsx') perhaps this will be interesting:https://community.adobe.com/t5/photoshop/evalfile-vs-include/td-p/3323884

Likes

Translate

Translate
Jump to answer Jump to answer
Enthusiast ,
Jul 30, 2020

Copy link to clipboard

Copied

Hello cbishop01

 

Check the link below to see if this what you're looking for.

https://stackoverflow.com/questions/4695444/adobe-indesign-jsx-script-execute-jsx-script

 

Regards,

Mike

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Advocate ,
Jul 30, 2020

Copy link to clipboard

Copied

Thanks for your reply. This would probably work however the one i was thinking of is simpler. I did find it after hours of searching I'll attach it below so anyone could use it if needed

 

app.doScript("/File/Location/Script.jsx"

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Participant ,
Jul 30, 2020

Copy link to clipboard

Copied

hi, i use this code :

 

$.evalFile('/myscript.jsx')

 

perhaps this will be interesting:

https://community.adobe.com/t5/photoshop/evalfile-vs-include/td-p/3323884

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
cbishop01 AUTHOR LATEST
Advocate ,
Jul 31, 2020

Copy link to clipboard

Copied

Thank you this works too.

Likes

Translate

Translate

Report

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