Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New features #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

New features #2

wants to merge 2 commits into from

Conversation

MARMdeveloper
Copy link

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

Added new features:
Fixes:
- now generates a png image for each PDF page.
- stay on Saved Games folder for users with DCS.beta.
Added:
Get 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).
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.
@bunnyhu
Copy link
Owner

bunnyhu commented Dec 9, 2023

Hi Miguel,

I find this utility very useful. Although it seems outdated is still working.

Thanks, it is nice to read someone using this app and like enough to update it :)

I'm not a professional developer (yet) but I can read and make some code.

Don't worry, I'm not a (professional) java programmer either. This was a learning project to get a feel for Java programming. Come to think of it, it was my first and my only Java program :D Sometimes I thinking about to rewrite it, but then feeling disappers so quickly :D Mostly because it is still working.

  • Now generates a png image for each PDF page. (original code only prints the first page)

Actually that function is just for a simple quick export. As I suggest in the manual: use the DCSkneeboard with the injected PDF, that program make image from all PDF page and also insert it to the perfect aircraft folder. Check the steps in the manual!

  • Suggestion: set another font color in those fields on template.

The templates only a demos, you can make your own - actually I strongly suggest to make yours! Then you can use any font and color, image etc.

If you consider those changes can be useful feel free to merge them with your great job.

Thanks for the modification, sounds good! I'll test it occasionally and if it works reliably, I'll be happy to include it in this project.

Cheers,
Karoly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants