Grimoire - Script Manager
Main Window
Reload - reload all script, every script set to 'run on start' will
execute, and timers will reset.
About - show about information.
Script Visualization
Script last execution status.
-
Success.
-
Warning.
-
Error.
-
Executing.
Remove script.
Execute script.
- Result - Filtered information level log.
- Warnings - Warning level log.
- Errors - Error level log.
Script Add/Edit
-
Script Name:
- Script unique identifier.
- Spaces will be replaced by an underscore '_'.
-
Display Name:
- Display name on the list and Detail window
-
Script Group:
- Script group name on the list.
-
Groups:
- Existing groups list.
- Fill the 'Script Group' field when selected.
-
Success Pattern:
- Regular Expression.
- Search this pattern on the result to determine the success.
- If empty the success will be set by the nonexistence of Errors
-
Result Filter:
- Regular Expression.
- Determine the start and the end of the result to be displayed.
-
Alert Level:
- Error - Set the alert level to error if script not success.
- Warning - Set the alert level to warning if script not success.
- Silent - Do nothing if script not success.
-
Run mode:
- Manual - Runs manually by double clicking on the list or by 'Play' command on detail
window.
- Run on Start* - Runs when the application starts or clicking the 'Reload' command.
- Interval* - Execute periodically by interval determined on the 'Interval' field.
* Can be started manually by double clicking on the list or by 'Play' command on script
visualization window.
-
Timeout:
- Script execution timeout in seconds.
-
Interval:
- Execution interval in seconds.
- Visible when Interval execution mode is selected.
Vault
- Set or change the Pin to secure the Vault.
- The Pin it's used to encrypt the Vault.
- If not set the Vault secrets will be encrypted with a default key.
- when set the Pin will be requested to start the application (see Pin).
-
Key
- Must be unique.
- Every interpolation {{Key}} on the scripts containing this key will be replaced by the
'Value'.
-
Value
- Value stored under the key.
-
Masked
- If value appear masked on the list.
Example script with interpolation:
Write-Host "Begin"
write-host "Example script:"
write-host "Loop:"
for ($i = 0; $i -lt 10; $i++) {
Write-Host $"Iteration: $($i)"
}
write-host "-"
Write-Host "Interpolation: {{ExampleKey}}"
Write-Warning "Example Warning"
Write-Error "Example Error"
Write-Host "End"
-
Value
- Value stored on the Vault under this key.
-
- Saves modifications on the item.
-
Pin
- The Pin popup it's shown at startup when the Pin it's set on the 'Vault
Edit'.
- The script will start only when the correct pin it's provided.
- When a wrong Pin it's provided, the reset Vault option will be shown.
- To reset the Vault, check the option and then click on the '!' command.
- When the Vault resets all the values are cleared but the structure(Keys) is preserved.
Settings
-
Theme:
-
Groups:
- Show script groups on the list.