Passa al contenuto principale

Class ScriptBuilderCommon

Namespace: TecnoPack.Interactivity
Assembly: CO0002_Templ_FlowpackHMI_V00_26_M.dll

Common building blocks for batch scripts (header, footer, logo, colors).

public static class ScriptBuilderCommon

Inheritance

object ← ScriptBuilderCommon

Methods

ClearScreen()

Normalizes screen (optional clear).

public static string ClearScreen()

Returns

string

EchoToOutput(string)

Writes a single line value to the output file.

public static string EchoToOutput(string valueExpression)

Parameters

valueExpression string

A CMD expression resolving to a single line (e.g. %selection%).

Returns

string

GetFooter()

Returns a footer that ensures graceful exit.

public static string GetFooter()

Returns

string

GetHeader()

Returns a standardized header that:

  • enables extensions and delayed expansion,
  • sets OUTPUT_FILE from the placeholder,
  • and prints a colorized logo.

public static string GetHeader()

Returns

string

  • Methods
    • ClearScreen()
    • EchoToOutput(string)
    • GetFooter()
    • GetHeader()