Thread View: adobe.scripting.indesign
1 messages
1 total messages
Started by Steven_F._Bryant
Wed, 25 Mar 2009 15:01
[CS4-js] calling function from external file
Author: Steven_F._Bryant
Date: Wed, 25 Mar 2009 15:01
Date: Wed, 25 Mar 2009 15:01
13 lines
1506 bytes
1506 bytes
When setting up an event listener, I currently use 1 of 2 options. Either I attach a file path to a script to run onInvoke, or I call a function which is included in the file creating the menu. The difference is that in order to be able to call a function, the file still has to be loaded into memory with '#targetengine session' or the like, where when using a path to a file it need not be loaded into memory. The issue with #targetengine... is that it can't be exported to jsxbin leaving the code exposed. The issue with a file path is creating many file that may share certain functions. So I was just wondering if it's possible to use a file path combined with a function name to call a specific function in a file without using #targetengine. Any help, or if I should try something totally different is appreciated. Steven RapidScriptUI <http://www.scriptui.com> idRTL <http://sites.google.com/site/adoberighttoleft>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads