https://github.com/pearpony/ame-runscriptwithwindow
https://github.com/pearpony/ame-runscriptwithwindow
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pearpony/ame-runscriptwithwindow
- Owner: PearPony
- License: gpl-3.0
- Created: 2025-02-07T16:02:19.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-02-07T16:35:42.000Z (4 months ago)
- Last Synced: 2025-02-07T17:30:50.469Z (4 months ago)
- Language: C++
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AME-RunScriptWithWindow
This C++ program will allow you to execute a selected Windows script with a window being shown in AME Wizard (useful for allowing the user to make choices in the script).## Usage
Change the file name in [main.cpp](https://github.com/PearPony/AME-RunScriptWithWindow/blob/main/main.cpp) accordingly. Then proceed to compile.## Compilling
MinGW on Windows
```g++ -o AME-Workaround main.cpp -mwindows -static```## Example of usage in a playbook
In a TASKNAME.yml file:
```
title: Run a script with a visible cmd window
actions:
- !run:
exe: 'MyScript\AME-Workaround.exe'
exeDir: true
wait: true
runas: currentUserElevated
```