The Construct method tells Voxler which command to create. The Construct method is accessed from the CommandApi object. The CheckforUpdate type allows the Voxler program to check the Golden Software website for an update to the program. This is similar to the Help | Check For Update command.
The Construct method must be used in combination with the Option method and the Do or DoOnce method to create an object.
Syntax
object.Construct(“CheckForUpdate”)
Construct Type
CheckForUpdate
Parameter |
Type |
Description |
Silent |
Boolean |
Required, “true” silently checks for update. “False” displays the Check for Update dialog. |
Example
This example checks the Golden Software website for an update. A dialog is displayed.
CommandApi.Construct ("CheckForUpdate")
CommandApi.Option("Silent","false")
CommandApi.Do()
Used by: CommandApi object
See Also