M
Matt Baker
Guest
The doc on some of this is only sort of helpful for this screen. documentation.progress.com/.../ documentation.progress.com/.../ documentation.progress.com/.../ Q1...will get back to you on this with more detail. I know there is a doc here on communities with details on the API that is available "send name of current selection". This passes the program name as an input parameter to your program. You need to have a string variable input parameter. Otherwise, this assumes there are no input parameters. Q2: Your best bet is to write a java plugin. Its not hard, but the initial hurdle requires some setup, and a knowledge of java. You'll get access to lots more stuff including current selection, selected views, and such. There are a huge number of examples on the web. I won't link to them here. Start at the eclipse.org website. Q3: Run persistent...is just that. It runs the selected .p as a persistent procedure and leaves it running. This is normally used when you setup the run to use the project AVM instead of its own separate run configuration. Leave the 'configuration' option blank (otherwise the run persistent option gets disabled) so it uses the project AVM, and select 'Run persistent'. This is how the classic Pro*Tools menu items are launched internally. It is up to you to delete the procedure when you're program is done, or you'll end up with a memory leak. Feel free to dig through the ABL support code shipped with PDSOE. You'll find it in $DLC/oeide/eclipse/plugins/com.progress.pdt.project. /runtime, and a few other similar places. You'll see the code there for starting the menu entries. It is shipped as source not r-code.
Continue reading...
Continue reading...