General

General

How execute an LS-PrePost command file?

    • FAQFAQ
      Participant

      Almost all graphical user interface (GUI) interactions generate commands, and these commands are written to a file called lspost.cfile. Upon exiting LS-PrePost, this file can be renamed to replay the previous session using one of the following methods. 1. By issue the command: LS-PrePost c=commandfile.cfile in the command prompt or terminal in which the LS-PrePost corresponds to the full path to the LS-PrePost executable. This method launches the LS-PrePost GUI and executes the commands from the command file. 2. LS-PrePost c=commandfile.cfile -nographics This method does not launch the LS-PrePost GUI but still executes the commands in batch mode. 3. By importing the command file into the LS-PrePost GUI through: File -> Open -> Command File This method will open a command file selection dialog. Upon opening a command file, LS-PrePost will display the CFile Dialog. Command Files can be a powerful tool and have many potential uses, such as performing repetitive tasks and presenting a pre-recorded set of actions to an audience.