Open topic with navigation
The root tag for Query Prompt. The Query Prompt tags set the prompt text, the default reply, and/or the value for the Query Prompt.
<QueryPrompt Name=Value>...</QueryPrompt>
The supported attributes include the following.
Attribute
Required/Optional
Description
Name
Required
The name of the Query Prompt.
The following child element tags are supported.
Tag
DefaultReply
Optional
Set the default reply for the query prompt.
UserPrompt
Set the user prompt.
Value
Set the value of the query prompt.
<FormatSetup> <Print> <ExportPrintPreviewToImage>
<QueryPrompt> is an optional tag that is used with the <FormatSetup>, <Print>, and <ExportPrintPreviewToImage> commands.
This example demonstrates the <QueryPrompt> tag contained within the <Print> command. The <QueryPrompt> tag can also be contained within the <FormatSetup> and <ExportPrintPreviewToImage> commands.
<?xml version="1.0" encoding="utf-8"?>
<XMLScript Version="2.0" Name="09232006_103601_Job1" ID="123">
<Command Name="Job1">
<Print>
<Format>Label1.btw</Format>
<QueryPrompt Name="Zip">
<DefaultReply>98296</DefaultReply>
<UserPrompt>98296</UserPrompt>
</QueryPrompt>
</Print>
</Command>
</XMLScript>
BTXML Script version 1.0 (BarTender 8.0 and later versions)