Akshinmustafayev EasyJob

EasyJob - keep and execute your PowerShell and BAT scripts from one interface

Project README

EasyJob

License Total lines Downloads GitHub repo file count GitHub repo file count

Description

EasyJob keep and execute your PowerShell and BAT scripts from one interface

Overview

image

image

image

image

Features

  • You can Remove or Edit button from the GUI by right mouse click on it and then select item in the context menu. Settings are automatically will be saved to your config.json file.

image

  • You can Remove or Add tab from the GUI by right mouse click on it and then select Remove Tab in the context menu. Settings are automatically will be saved to your config.json file.

image

  • You can Add button from the GUI by right mouse click on button bar and then select Add button.

image

  • You can reorder Tabs from the Settings->Workflow->Reorder tabs context menu
  • You can add Tabs from the Settings->Workflow->Add tab context menu
  • You can rename Tabs from the Settings->Workflow->Remove current tab context menu
  • You can remove Tabs from the Settings->Workflow->Rename current tab context menu
  • You can remove Add buttons from the Settings->Workflow->Add button to current tab context menu
  • You can reorder buttons from the Settings->Workflow->Reorder buttons in current tab context menu

Configuration

Configuration could be done from config.json file located with the app executable.

Here is an example:

{
  "default_powershell_path": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
  "default_cmd_path": "C:\\Windows\\System32\\cmd.exe",
  "powershell_arguments": "",
  "console_background": "Black",
  "console_foreground": "White",
  "clear_events_when_reload": true,
  "restrictions": {
    "block_tabs_remove": false,
    "block_buttons_remove": false,
    "block_tabs_add": false,
    "block_buttons_add": false,
    "block_buttons_reorder": false,
    "block_buttons_edit": false,
    "hide_menu_item_file_reload_config": false,
    "hide_menu_item_file_open_app_folder": false,
    "hide_menu_item_file_clear_events_list": false,
    "hide_menu_item_settings": false,
    "hide_menu_item_settings_workflow": false,
    "hide_menu_item_settings_workflow_reorder_tabs": false,
    "hide_menu_item_settings_workflow_add_tab": false,
    "hide_menu_item_settings_workflow_remove_current_tab": false,
    "hide_menu_item_settings_workflow_rename_current_tab": false,
    "hide_menu_item_settings_workflow_add_button_to_current_tab": false,
    "hide_menu_item_settings_workflow_reorder_buttons_in_current_tab": false,
    "hide_menu_item_help": false,
    "hide_menu_item_help_troubleshooting": false,
    "hide_menu_item_help_about": false
  },
  "tabs": [
    {
      "ID": "2e5feab0-527c-451c-b83c-d838d22dacac",
      "header": "Common actions",
      "buttons": [
        {
          "Id": "01bf5871-442e-4f73-91a3-fa13855b609c",
          "text": "test01",
          "description": "Some test script",
          "script": "scripts\\common\\test01.ps1",
          "scriptpathtype": "relative",
          "scripttype": "powershell",
          "arguments": []
        },
        {
          "Id": "9cdc38fa-fc32-4a9d-be78-cd2bfe264422",
          "text": "Bat script",
          "description": "Some BAT script",
          "script": "scripts\\test02.bat",
          "scriptpathtype": "relative",
          "scripttype": "bat",
          "arguments": []
        },
        {
          "Id": "5ec086d9-7987-43ef-84fb-1d8481b05aea",
          "text": "Absolute path script",
          "description": "",
          "script": "C:\\scripts\\absolute_script.ps1",
          "scriptpathtype": "absolute",
          "scripttype": "powershell",
          "arguments": []
        },
        {
          "Id": "c28abef3-494c-48f5-96d8-a5788ced1a23",
          "text": "test04",
          "description": "Some test 04 script with arguments",
          "script": "scripts\\common\\test04.ps1",
          "scriptpathtype": "relative",
          "scripttype": "powershell",
          "arguments": [
            {
              "argument_question": "What is your name?",
              "argument_answer": ""
            },
            {
              "argument_question": "What is your surname",
              "argument_answer": ""
            },
            {
              "argument_question": "No, really what is your name?",
              "argument_answer": ""
            }
          ]
        }
      ]
    },
    {
      "ID": "42f71e1a-32b9-4c16-8c7d-256cd589c52e",
      "header": "Second Tab",
      "buttons": [
        {
          "Id": "3476554c-77b1-4abd-914e-ab1db866fc5f",
          "text": "And this is button too",
          "description": "no description",
          "script": "scripts\\some_button_script.ps1",
          "scriptpathtype": "relative",
          "scripttype": "powershell",
          "arguments": []
        }
      ]
    }
  ]
}

Note 1: Do not specify argument_answer value, since it will be ignored when executing script

Note 2: ID my be any other random GUID number. You may not specify it, application will regenerate it after changes if it is absent or not present.

Easy access

CTRL+Left Mouse Click on the button will open folder where script attached to the button is located

SHIFT+Left Mouse Click on the button will open the script attached to the button with your default ps1 text editor

Compilation

  1. Download and install .NET 5 SDK from Here
  2. Download source code and extract it to C:\temp
  3. Open Command Promt (cmd) from the start menu
  4. Execute cd C:\temp\EasyJob-main
  5. Execute dotnet build -c release

image

  1. Open C:\temp\EasyJob-main\bin\Release\net5.0-windows and execute EasyJob.exe

image

Contributing

Contribution is very much appreciated. Hope that this tool might be useful for you!

Thanks to the contributors:

Open Source Agenda is not affiliated with "Akshinmustafayev EasyJob" Project. README Source: akshinmustafayev/EasyJob
Stars
175
Open Issues
0
Last Commit
1 week ago
License