The POST command can be used to signal applications that use window messages.
You can identify the window message by message contents, or by the window message ID, if one exists.
You can identify the window class by its class name or the window title. If you identify by name, you can use the -wc dbmlsync
option to specify the window class name. If you identify the window class by the window title, you can only reference it by
the top level window.
If your window message or window class name contains non-alphanumeric characters, such as spaces or punctuation marks, encapsulate
the text in single quotes ( ' ). The escape character is also a single quote, so if your window message or window class name
contains single quotes, reference the quote using two single quotes ( '' ).
The following are valid for POST:
Post by decimal id
For example, post 999 to <wc|wt>
Post by hex id
For example, post 0x3E7 to <wc|wt>
Post by registered message name
For example, post myRegisteredMsgName to <wc|wt>
To demonstrate the use of windows and messages containing single quotes, the following example posts mike's_message window
message to the mike's_class window class:
dblsn -l "action='post mike''s_message to mike''s_class';"
The following example posts a window message, dbas_synchronize, to a dbmlsync instance registered with the dbmlsync_FullSync
class name:
dblsn -l "action='post dbas_synchronize to dbmlsync_FullSync';"