The following example illustrates how to use AutoMateç—´ DDE Action to send a DDE Command to the Windows Program Manager.
Sub Main
Action.DDE("PROGMAN", "PROGMAN","[CreateGroup(XXX)]")
End Sub
The following example illustrates an alternate way to perform the above example using AutoMate Basic native commands.
Sub Main ChanNum = DDEInitiate("PROGMAN","PROGMAN") DDEExecute ChanNum,"[CreateGroup(XXX)]" DDETerminate ChanNumEnd Sub