> From: ejhlti@verizon.net
> thru a command line, is there any way to run a trail file when proe is already running ?
> I know you can start proe via the command line, and specify a trail file to run, but I ws
> wondering if this can be done while proe is already running. Basically Im trying to reduce
> eliminate the startup time. Is there any other trick to do this ?
An asynchronous JLink or ProToolkit program can do this. I'm not aware
of any other utility.
Here is a minimalistic JLink example that toggles datum planes on/off:
System.loadLibrary ("pfcasyncmt");
AsyncConnection ac = pfcAsyncConnection.AsyncConnection_ConnectWS ( null, null, null, null, null );
currSession = ac.GetSession().RunMacro( "~ Activate `main_dlg_cur` `ProCmdEnvDtmDisp.ddisp` 0" );
If you used JLink, the best way would be to open a trail file and
execute RunMacro() on each line rather than hardcoding as above.
Unfortunately, the above consumed about 70MB RAM just to toggle
datum planes. JLink may be a little overkill for this problem.
There are several other (ProToolkit related) limitations as well.
Marc