User Tools

Site Tools


guide:help:cmdln

Table of Contents

Command Line parameters

Documentation | Help File | Command Line parameters

The Editor can be executed with a number of different command line parameters. The command line parameters make the Editor act in a different way in comparison to the default execution (without parameters).

To execute the Editor with a command line parameter

  1. Click on the Start button on the Windows taskbar - this invokes the Windows start menu.
  2. Within the Windows start menu click on the Run… item - this invokes the Run dialog box.
  3. Within the Run dialog box type cmd and press the Enter key - this invokes the Windows Command Line.
  4. Within the Windows Command Line type [drive letter]: , where the [drive letter] is the letter of the drive on which the Editor is installed, and press the Enter key.
  5. Type cd [Editor installation path] , where [Editor installation path] is the path to the folder where the Editor is installed, and press the Enter key.
  6. Type ttkEDT.exe /[parameter]=[path] and press the Enter key. For the list of available parameters see Editor command line parameters below.

Available commands

Parameter Example Description
/ss
/StartupScript
ttkEDT.exe /ss=C:\TatukGIS\startup.psc Force the Editor to use different startup script for building the user interface.
/es
/ExecuteScript
ttkEDT.exe /es=C:\TatukGIS\sample.ssproj Executes the user specified script immediately after the Editor startup; terminates the Editor after finishing the execution
/rs
/RunScript
ttkEDT.exe /rs=C:\TatukGIS\sample.ssproj Executes the user specified script immediately after the Editor startup.
/sc
/SyntaxCheck
ttkEDT.exe /sc=C:\TatukGIS\sample.ssproj > C:\TatukGIS\result.txtCompiles a user specified script and saves the compilation result to a user specified text file.
/c
/Compile
ttkEDT.exe /c=C:\TatukGIS\sample.ssproj Compiles a user specified script and, if the compilation returns no errors, generates the binary version of the script.

Note

  • The default Editor installation path is C:\Program Files\TatukGIS\Editor.
  • The default Editor startup script is the file ttkEDT.psc located in the Editor installation path.
  • If called a number of times ina PowerShell Script use ttkEDT parameters | Out-Host to avoid calling next copy of the Editor before the previous one is still running.
2018/05/25 13:38

Page Tools