<< Click to Display Table of Contents >> AppTextMaker (function) |
AppTextMaker ["Command-line parameters"]
Starts the word processor TextMaker.
The return value is a task ID that identifies the program. Values below 32 indicate that launching the program failed.
You can pass the name of the file to be opened as a command-line parameter – for example:
AppTextMaker "c:\Documents\Letter.tmdx"
To ensure that this command does not fail, TextMaker must be registered in the Windows Registry. If this is not the case, it is sufficient just to start TextMaker once conventionally. The program will then automatically update its settings in the Registry.
Note: This command simply starts the TextMaker application without establishing an OLE Automation connection. In order to make an OLE Automation connection to TextMaker, use the function GetObject after invoking AppTextMaker. Alternatively, you can use the CreateObject function instead of the AppTextMaker function from the outset. In this case, TextMaker will be launched and an OLE Automation connection will be established at the same time.
See also: AppPlanMaker, AppSoftMakerPresentations, CreateObject, GetObject, Shell