Encapsulates the AutoMateÖ action in the ôVariablesö group, ôInput variable.ö The method displays a dialog box for the user to enter a value, which is then stored into the specified AutoMateÖ variable.
Declaration
function InputToVar (varVarName As Variant,
varPromptTitle As Variant,
varPromptText As Variant) As Integer
Parameters
varVarName
The name of the AutoMateÖ variable to input the user response into.
varPromptTitle
The text to display in the title bar of the dialog box.
varPromptText
The text to display within the dialog box.
Description
Use the InputToVar method to allow a user to interactively input a value for a variable.
This method call is the same as using the SendKeystrokes method and setting the varKeysToSend to an AutoMateÖ variable.