Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/akshinmustafayev/EasyJob

:hammer: EasyJob - keep and execute your PowerShell and BAT scripts from one interface
https://github.com/akshinmustafayev/EasyJob

easyjob execution gui powershell runner script task

Last synced: 2 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# EasyJob


License


Total lines


Downloads


GitHub repo file count


GitHub repo file count

## :newspaper: Description

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

## :eye_speech_bubble: Overview
![image](https://user-images.githubusercontent.com/29357955/138738649-e80dc995-5bfb-423d-9822-6427540f0b46.png)

![image](https://user-images.githubusercontent.com/29357955/138327363-072fe889-745d-4f57-b8df-7ce567258191.png)

![image](https://user-images.githubusercontent.com/29357955/138327384-740485f3-1a0a-4717-81a0-75f209207c32.png)

![image](https://user-images.githubusercontent.com/29357955/136707408-518324f0-1de3-4b66-9d77-ed186d25c1fe.png)

## :abacus: Features
* _Remove_, _Edit_ or _Copy_ 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](https://raw.githubusercontent.com/akshinmustafayev/EasyJob/main/ej/feature1_1_9_0.png)

* _Remove_, _Rename_ 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](https://raw.githubusercontent.com/akshinmustafayev/EasyJob/main/ej/feature2_1_1_5.png)

* _Add_ or _Paste_ button from the GUI by right mouse click on button bar.

![image](https://raw.githubusercontent.com/akshinmustafayev/EasyJob/main/ej/feature3_1_1_9_0.PNG)

* Reorder Tabs from the _Settings->Workflow->Reorder_ tabs window
* Add Tabs from the _Settings->Workflow->Add tab_ window
* Rename Tabs from the _Settings->Workflow->Remove current tab_ window
* Remove Tabs from the _Settings->Workflow->Rename current tab_ window
* Remove Add buttons from the _Settings->Workflow->Add button to current_ tab window
* Reorder buttons from the _Settings->Workflow->Reorder buttons in current_ tab window
* Change application settings from the _Settings->Configuration_ window
* Colored console support

## :red_circle: Color tags support

There are 14 available default tags which you may want to use
1. __\c01EJ__ Some text __/c01EJ__
```PowerShell
Write-Host "\c01EJColor with tag 01/c01EJ"
```
2. __\c02EJ__ Some text __/c02EJ__
```PowerShell
Write-Host "\c02EJColor with tag 02/c02EJ"
```
3. __\c03EJ__ Some text __/c03EJ__
```PowerShell
Write-Host "\c03EJColor with tag 03/c03EJ"
```
4. __\c04EJ__ Some text __/c04EJ__
```PowerShell
Write-Host "\c04EJColor with tag 04/c04EJ"
```
5. __\c05EJ__ Some text __/c05EJ__
```PowerShell
Write-Host "\c05EJColor with tag 05/c05EJ"
```
6. __\c06EJ__ Some text __/c06EJ__
```PowerShell
Write-Host "\c06EJColor with tag 06/c06EJ"
```
7. __\c07EJ__ Some text __/c07EJ__
```PowerShell
Write-Host "\c07EJColor with tag 07/c07EJ"
```
8. __\c08EJ__ Some text __/c08EJ__
```PowerShell
Write-Host "\c08EJColor with tag 08/c08EJ"
```
9. __\c09EJ__ Some text __/c09EJ__
```PowerShell
Write-Host "\c09EJColor with tag 09/c09EJ"
```
10. __\c10EJ__ Some text __/c10EJ__
```PowerShell
Write-Host "\c10EJColor with tag 10/c10EJ"
```
11. __\c11EJ__ Some text __/c11EJ__
```PowerShell
Write-Host "\c11EJColor with tag 11/c11EJ"
```
12. __\c12EJ__ Some text __/c12EJ__
```PowerShell
Write-Host "\c12EJColor with tag 12/c12EJ"
```
13. __\c13EJ__ Some text __/c13EJ__
```PowerShell
Write-Host "\c13EJColor with tag 13/c13EJ"
```
13. __\c14EJ__ Some text __/c14EJ__
```PowerShell
Write-Host "\c14EJColor with tag 14/c14EJ"
```

You can use tags inside other tags as well. Examples:
```PowerShell
Write-Host "\c14EJColor with \c12EJsome inside tag/c12EJ tag 14/c14EJ"
Write-Host "\c02EJColor with \c09EJsome inside tag/c09EJ tag 14/c02EJ"
Write-Host "\c02EJAnother \c04EJexample/c04EJ with \c08EJsome/c08EJ other inner blocks/c02EJ"
```

If you dont want to use tags, you can use HTML code inside your Write-Host. Examples:
```PowerShell
Write-Host "Some error alert!"
Write-Host "Some other color!"
Write-Host "Some other color!"
```

## :hammer: EasyJobPSTools

EasyJobPSTools - is a PowerShell Module which enables Graphic features for your scripts.

You can read more about it [Here](https://github.com/akshinmustafayev/EasyJobPSTools)

## :gear: 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",
"console_ignore_color_tags": false,
"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,
"block_tabs_rename": false,
"block_buttons_paste": false,
"block_buttons_copy": 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_settings_configuration": false,
"hide_menu_item_help": false,
"hide_menu_item_help_troubleshooting": false,
"hide_menu_item_help_colortags": 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._

## :triangular_flag_on_post: 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

## :electric_plug: Compilation

1. Download and install Visual Studio 2022
2. Open project in Visual Studio and build it

## :dart: Contributing

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

Thanks to the contributors: