Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi Bunny,
I find this utility very useful. Although it seems outdated is still working.
I'm not a professional developer (yet) but I can read and make some code.
I created a fork to upload some changes:
- Now generates a png image for each PDF page. (original code only prints the first page)
- Stays on Saved Games folder for users with DCS.beta instead of "folder not found" message,
- Gets aircraft name (from DCS folder) and current date-time and fill in the fields AIRCRAFT_NAME and PRINT_DATE (both fields must exists on template).
- Sets a default name for output files with aircraft name and date in filename, (but can be edited)
- Support for buttons with modifier (only 1 modifier). The fields must be named with "MOD-" prefix along the base name (ex.: MOD-JOY_BTN10). Suggestion: set another font color in those fields on template.
If you consider those changes can be useful feel free to merge them with your great job.
Regards,
Miguel