The runtime engine (Dynamics.exe) can use several command line parameters to control its operation. The following table shows the sets of parameters that can be used.
Command and parameters |
Description |
---|---|
Dynamics.exe |
Launches the runtime, displaying the application shell. |
Dynamics.exe launch_file |
Launches the runtime, opening the set of dictionaries specified by the launch file. The complete path to the launch file can be specified. |
Dynamics.exe launch_file /CNKONLY
|
Launches the runtime, extracting any dictionary chunk files found that can be merged into the set of dictionaries specified by the launch file. The runtime closes when the unchunking process is complete. |
Dynamics.exe launch_file Dex_ini |
Launches the runtime, opening the set of dictionaries specified by the launch file. The complete path to the launch file can be specified. Uses the Dex.ini file in the location specified. |
Dynamics.exe launch_file Dex_ini /CNKONLY |
Launches the runtime, extracting any dictionary chunk files found that can be merged into the set of dictionaries specified by the launch file. Uses the Dex.ini file in the location specified. Closes when the unchunking process is complete. |
Dynamics.exe launch_file macro_file |
Launches the runtime, opening the set of dictionaries specified by the launch file. The complete path to the launch file can be specified. Automatically runs the macro specified. |
Specifying a macro to run on the command line can be useful to automatically log into an application when it is launched. To record a login macro, do the following:
Launch the application as you normally would, but don’t log in.
Press ALT-F8 to begin recording the macro. Specify the name and location of the macro file.
Complete logging into the application as you normally would. Be sure to manually type any User ID or Password information so that it will be captured by the macro.
Once you have logged in, stop recording the macro by pressing ALT-F8.
The login macro is almost complete. However, you need to edit the macro using a text editor such as Notepad to add the following line to the second line of the macro:
Logging file 'macro.log'
Adding this line prevents any messages displayed by the macro, such as the total running time, from being displayed on the screen and preventing the login. Be sure to save your changes.