1.11.2 Data Exchange with other applications

CodeBlocks

[Contents] CodeBlocks Manual   [Search] Search

[Table of contents]

1.11.2 Data Exchange with other applications


Data can be exchanged between CodeBlocks and other applications. For this interprocess communication DDE (Dynamic Data Exchange) is used for windows and under different operating systems it is a TCP based communication.
With this interface different commands with the following syntax can be sent to a CodeBlocks instance.
  [<command>("<parameter>")]
These commands are currently available:
Open
The command
  [Open("d:\temp\test.txt")]
uses the parameter, in our case it is a file specified with an absolute path, and opens it in an existing CodeBlocks instance or starts a first instance if required.
OpenLine
This command opens a file at a given line number in a CodeBlocks instance. The line number is specified with :line.
  [OpenLine("d:\temp\test.txt:10")]
Raise
Set the focus to the CodeBlocks instance. A parameter must not be passed.


[Previous] 1.11.1  Tracking of Modifications
[Next] 1.11.3  Configuring environmental variables

Created: 2010/25/05 11:52   Updated: 2010/25/05 11:52
Author: HighTec EDV-Systeme GmbH
Copyright © 2010 HighTec EDV-Systeme GmbH