An example of DDE scripting is where Application Enabler executes a VBScript after getting the contents of a Microsoft Word document. In this example, the name of the enabled application is winword.exe. Therefore, the name of the script file is winword.exe.aes.
The script file contains:
Function GetScreenContents(InputValue)
'MsgBox InputValue
GetScreenContents = InputValue
End Function
Function GetCursorRow(InputValue)
'MsgBox InputValue
GetCursorRow = 5
End Function
Function GetCursorColumn(InputValue)
'MsgBox InputValue
GetCursorColumn = 6
End Function