Please enable JavaScript to view this site.

A-Shell Development History

AUI_CONTROL enhancement: a new option in the symbolic click string syntax allows for a double-click to send a different exitcode than the single click. To activate, insert a "d" (lower case) after the "VK_x" and before the "F", e.g.: "VK_xdF301" or "VK_xrdF301". In either case, the exitcode sent for the double click will be 1000 times that for the single click. So for the examples just given, the exitcodes would be:

Action

Exitcode

left click

-301

right click

301 (if enabled by "r" code as in VK_xrF301)

left double click:

-301000 (if enabled by "d" code, as in VK_xdF301)

right double click:

301000 (if enabled by "dr" codes, as in VK_xrdF301)

 

Notes

Since a double click starts with a single click, you would first get the single click exitcode, then the double click exitcode. (This nasty little fact complicates and limits the practical applications for double clicks, since the control receiving/returning the double click exitcode will most likely be different from the one receiving/returning the single click exitcode.)
When the "d" code to enable the double click is not specified in the click string, the second click in a double click sequence is typically filtered and discarded (to avoid application thrashing when the user accidentally double clicks on a control meant for single clicks only).