Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » MobiLink - Server-Initiated Synchronization » MobiLink Listener utilities » Listener utility for Windows devices » Listener action commands for Windows


POST action command

Posts a window message to a window class.

action='POST windowmessage | id to windowclass | windowtitle'

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 ( '' ).


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 dmblsync_FullSync';"
See also