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
DisplayMagician CurrentProfile doesn't provide an output #223
Comments
@EthanGJ123 I just tested and yes, you are correct. It has stopped working at some point, so I will have to go back and try and troubleshoot why that is. Thank you for bringing this to my attention. Pleas note it will be a month or so before I'll be able to work on this in depth, as real life has gotten substantially busier over the last little while. I'll do my best to investigate as the issue hopefully won't be too difficult to fix. Thanks |
This fixes CurrentProfile so that it outputs the profile name currently in use. Fixes #223. Have to monitor this to make sure that it doesn't introduce a memory leak....
@EthanGJ123 I tried to get the CurreentProfile to work on this WinForms application but unfortunately I haven't been able to get this to work. WinForms apps don't natively have support for console output, so you have to kind of glue it in there, and every method I tried didn't work. So, I've decided to work on creating a separate console programme that will use the shared profile libraries to provide that feedback, much like Soroush Falahati did with the original Helios Display Management back in the day. This will take a little while to sort out, but I'm hopeful I'll be able to get the basics built in before the next release happens. We shall see. Thanks |
Tweaked and tuned the DIsplayMagicianConsole.exe so that you can use either the Profile UUID or the Profile Name to select it. Also updated the CurrentProfile command so that it reports the currentProfile UUID as well as the name, so to make it easier for the user to use. Also added in the ability to run "DIsplayMagicianConsole.exe AllProfiles" to get a list of all the DisplayProfiles currently available. Also added a -p flag to change the ourput from human readable to one delimited by the vertical pipe character "|" to make it easier to parse in scripts. Fixes #223
@EthanGJ123 Good news! I've made a new separate console application called DisplayMagicianConsole.exe that allows you to interact with DisplayMagician Display Profiles from a script. This allows the following three commands:
The idea is that you use the first two commands to figure out which Display Profile you want to use, and then use the last command to swap to it. I've made a special new test version of DIsplayMagician for you to try. Please give it a test and give me any feedback. DisplayMagicianSetup-v2.6.0.517-console.zip And if you like what I do, then I'm open to receiving donations. I'm hoping to save up for an Intel Arc video card so that I can add some Intel Arc support to DisplayMagician. Thanks |
Oops I broke the setup with my previous version. This version has a corrected setup that should install everything properly. DisplayMagicianSetup-v2.6.0.522-corrected-setup.zip Thanks |
When using DisplayMagician CurrentProfile, the program doesn't return a value, and exits.
Steps to reproduce the behaviour:
DisplayMagician CurrentProfile
I would expect either a name or identifier of a profile
DisplayMagician-Support-20230516-0719.zip
The text was updated successfully, but these errors were encountered: