To set up an automatic action based on the title of the dialog box, use the following options in the launcher.ini file:
[ServiceDialogs]
DialogTitle_<n> = <title text>
DialogTitleAction_<n> = Close|Validate>
<n> is an increment that starts at 1
<title text> is the exact title (case respected) of the title of the dialog box, corresponding to DialogTitle=xxx in the LAUNCHER Office trace.
DialogTitleAction_ <n> can have as value:
• "Keep" to leave the dialog box
• "Close" (default) to close it
• "Validate" to validate
Example:
[ServiceDialogs]
DialogTitle_1=Save As
DialogTitleAction_1=Validate
This will validate (not close) any dialog box titled "save as".
After modifying launcher.ini (and restarting the service), the trace will show for the same case:
Dialog Info: DialogTitle=Save As, DialogClass=bosa_sdm_Microsoft Word 9.0, Style=94c80000, StyleEx=501, Id=0.
The default button in the 'Save As' dialog box has been automatically selected.