Quantcast
Channel: Adobe Community : Popular Discussions - Adobe FrameMaker
Viewing all articles
Browse latest Browse all 23442

Can a script execute another script?

$
0
0

Dear colleagues,

 

I am not talking about calling a function from another file for which I used the #include directive. I want to execute a .jsx that I know only at runtime.

 

Until now I have found this: If a script file contains

 

#target framemaker

 

it is possible to use File(lvFilename).execute() (without the target instruction the script would simply open in ESTK).

 

But: The execute() method triggers a warning that I should execute only scripts from trustworthy sources (or so…).

 

Is there any other method to execute other scripts? Or is there a way to make my scripts trustworthy?

 

- Michael


Viewing all articles
Browse latest Browse all 23442

Trending Articles



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