Welcome to Keen Software House Forums! Log in or Sign up to interact with the KSH community.
  1. You are currently browsing our forum as a guest. Create your own forum account to access all forum functionality.

Help wanted for "Terminal menu" script

Discussion in 'Programming Questions and Suggestions' started by twotwinbrothers, Aug 13, 2017.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. twotwinbrothers Trainee Engineer

    Help Wanted

    Terminal Menu By Twotwinbrothers

    For the menu i need some help to make it more user friendly, more plug an play This will take me some time, i'm hobby C# coder, never had any training. i already have seen a examples in the "FLoorplan Script" by Alysius but can get it to work .if you know how please give me a example, that will save me some time.

    now i make a list of block in script, but as i want to make it more user friendly i want to automated list building.

    now i do it like this

    Menu Tille
    if(menu == null){                                                    
        menu = new EasyMenu("Menu Index", new [] {
    menu index = Title of the menu

    Sub menu
    new EasyMenuItem("Sub menu", new[] {
       new EasyMenuItem("Terminal block name",First Agrument ,Second Agrument ),
       }),   <-- add these to the endof the sub menu
    sub menu = Title of the sub menu
    Terminal block name = Block name or part of it
    First argument = Action
    Second argument = Shows Action name, Status and/or Details on screen

    i like to see it work like this:

    Home-> Terminal list divided in block type ->list whit selected type of blocks -> a list of terminal actions

    Example for how i want it to be shown on screen :




    next screen-------------------------------------------------------------

    Home -> Connectors


    Connector 1
    Connector 2
    Connector 3

    next screen-------------------------------------------------------------

    Home -> Connectors -> Connector1


    On Off + status
    Switch Lock + status
    Lock + status
    Unlock + status
    Collect on/off + status
    Throw on/off + status

    Last edited: Aug 13, 2017
Thread Status:
This last post in this thread was made more than 31 days old.