SDL Trados Studio Command line processor
If you need to run SDL Trados Studio from a command line and you what to execute a custom processing based on a command with arguments the Integration API enables you to create your own command line processor.
Creating a SDL Trados Studio command line argument processor
To create a SDL Trados Studio command line processor as a third-party developer :
implement the IExternalCommandLineProcessor or IExternalWindowAwareCommandLineProcessor depending if you want to run the command line processor before or after the main screen is displayed.
from
Sdl.Desktop.IntegrationApi.Extensions.CommandLine
namespace and decorate your class with ExternalCommandLineProcessorAttribute attribute.
If you don't implement IExternalCommandLineProcessor or IExternalWindowAwareCommandLineProcessor, an exception will be thrown, but if you omit the ExternalCommandLineProcessorAttribute, your plugin will simply be ignored when SDL Trados Studio starts.
After successfully creating your command line processor you can check the Help generated for it by and running the following command in cmd.exe : C:\Program Files\SDL\SDL Trados Studio\Studio15\\SdlTradosStudio.exe ? . Your command will appear, among other commands available, in the following screen :