Sends data to a DDE server application.
DDEPoke (channel, item-name, item-value)
(i) channel: same integer that was returned by DDEInitiate.
(s) item-name: identifies the type of data being sent.
(s) item-value: actual data to be sent to the server.
(i) @TRUE if successful; @FALSE if unsuccessful.
Use the DDEInitiate function to obtain a channel number.
In order to use this function successfully, you will need appropriate documentation for the server application you wish to access, which must provide information on the DDE functions that it supports and the correct syntax to use.
Run("reminder.exe", "") ;Run Reminder channel = DDEInitiate("Reminder", "items") ;Initialize DDE If channel != 0 ;If DDE OK ;Do DDE Poke result = DDEPoke(channel, "all", "11/3/92 Misc Vote!!!!") DDETerminate(channel) ;Close DDE WinClose("Reminder") ;Close Application If result == @FALSE Message("DDE Poke", "Failed") Else Message("DDE Poke", "Operation complete") Exit EndIf Else Message("DDE operation unsuccessful", "Check your syntax") EndIf
DDEExecute, DDEInitiate, DDERequest, DDETerminate, DDETimeout