|

ResultVariable


When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.


See also: Related Actions


image

image

Dialog.PageSearch

OverviewExamples

Dialog.PageSearch ( table DialogText = nil )


De s cr ip t ion


Presents a dialog that allows the user to search for pages by keyword. Keywords can be defined on each page in your project. Search results shown to the user is a list of page descriptions (if present), or page names.


P arame t er s


DialogText


(table) A table containing the text to display on the dialog controls instead of the default English text. If this table is nil, the English defaults are used. If the table is specified, only those indexes that are specified are used. This allows partial translation or text changes. The table may contain one or more of the following values:



KEY


TYPE DESCRIPTION


DialogTitle


string


The dialog title text.


SearchForLabel


string


The "Search for:" label.


AllowPartialMatches


string


The text of the "Allow partial matches" checkbox.


AllowPartialMatchesCheckbox


boolean


Default value for the "Allow partial matches" checkbox. (true=checked, false=unchecked)


CaseSensitive


string


The text for the "Case sensitive" checkbox.


CaseSensitiveCheckbox


boolean


Default value for the "Case sensitive" checkbox. (true=checked, false=unchecked)


SearchButton


string


The text for the search button.


ResultsGroup


string


The text for the "Results (Double-click to jump to page)" group box.


CancelButton


string


The text for the cancel button.


Re t u r n s


Nothing. You can use Application.GetLastError to determine whether this action failed, and why.


See also: Related Actions


image

image

Dialog.PasswordInput

OverviewExamples

string Dialog.PasswordInput ( string Title,


string Prompt,


number Icon = MB_ICONNONE )


De s cr ip t ion


Presents a "hidden input" dialog to collect a password from the user.


Note: Whatever the user types into this dialog will be hidden by asterisks, like this: *******


image

P arame t er s


Title


(string) The dialog title.


|