Highlighted

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.

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

TOPICS
Scripting

Views

70

Likes

Translate

Translate

Report

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

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.

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

TOPICS
Scripting

Views

71

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 30, 2020 0
Engaged ,
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
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 30, 2020 1
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
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 30, 2020 0
Explorer ,
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
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 30, 2020 1
Advocate ,
Jul 31, 2020

Copy link to clipboard

Copied

Thank you this works too.

Likes

Translate

Translate

Report

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