i am currenly working on customizing FrameMaker with ExtendScript.
When I completely restart ExtendScript Toolkit, I always have to change the "main engine" (don't know if this is the correct term) of my script
from "ExtendScript Toolkit CC" to "Adobe FrameMaker 2017" via this panel:
Is there a way to modify the code, which implements this functionality automatically without user input as shown in the picture above?
Thanks a lot!
Yes you can add a '#target directive' At the start of your script file like this:
If all is well the script will be run in FrameMaker 2017.
The first dropdown lists all available target applications, the next dropdown will show all scripting engines available for the selected target. FrameMaker has one engine named "main".
thanks a lot! It worked perfectly.
Or, you can use the more generic directive:
This will always target the latest version of FrameMaker on your machine. If you include the version number in the directive, you will have to change your scripts when you upgrade FrameMaker.
Thanks! This generic way is also a nice solution
Is it possible to set architecture 32bit or 64bit?