You can send command IDA action codes as command lines to invoke specific behavior, launch scripts or control CETerm from a third party application launcher. This capability is only available in version 5.1.1 or higher. Here are some examples:
- To start CETerm, switch to Session 1 and connect the session:
CETerm.exe IDA_SESSION_S1 IDA_SESSION_CONNECT
If CETerm is already running, this will switch it to Session 1 and connect the session if it is not already connected.
- To switch a running CETerm to Session 2, otherwise do nothing:
CETerm.exe IDA_SESSION_S2 IDA_NONE
The IDA_NONE is a special code to prevent CETerm from starting if it is not already running. This is useful when you want an external tool to activate a CETerm action but don't want to start CETerm if not already running.