-
Notifications
You must be signed in to change notification settings - Fork 256
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
API access for third party application #1637
Comments
@coffandro hello, It's not that easy to do. I simply can't add any CLI as whole app is designed to run in background, and act on certain events in the system (like plugging / unplugging power, pressing hotkey, etc). Same applies to external API. If you want to re-use certain G-Helper's actions you can simply re-use code for your own solution :) main (and unique to asus) things are in https://github.com/seerge/g-helper/blob/main/app/AsusACPI.cs If you have more specific requests regarding hotkeys, that can be useful for a big range of people - i can consider them as well (even tho app already offers big amount of automatization) :) |
Well a hotkey for changing CPU mode could be quite useful |
@coffandro if you mean performance modes - then it's |
Oh no I meant dgpu Vs egpu not performance modes |
@coffandro there is no eGPU modes, if you mean XG Mobile toggle, when it's handled - you need to physically interact with device anyway. So clicking on extra button in the app is not a big deal here. As for enabling / disabling dGPU - it's already can be automated an called Optimized mode :) |
@coffandro optimized mode doesn't change power modes :) it only turns dGPU on or off . Can you explain your scenario why do you want to disable / enable dGPU so often if you don't unplug your laptop ? |
@seerge in all cases except for if I'm running the "creation kit" I want it to switch to the egpu when I unplug, if it is running the CK I want it to keep dgpu+egpu |
so if I the application is open I want it to be on DGPU while if it's closed I want it to be on optimized mode |
@coffandro try this build
|
That works perfectly! |
or not? it gives me a bluescreen if i switch it while having win 11 notepad open lol |
Asus has implemented disabling and enabling GPU by literally powering it off :) thats one more reason i don’t encourage constant switching here PS: Check stop apps using GPU under extra, this may help |
@coffandro alternatively you can just run as admin following thing in powershell 1 - to set eco, 0 - to set standard :)
Results will be the same, cause this is same asus command that g-helper is using |
Thank you! |
Is your feature request related to a problem? Please describe.
On my laptop I often use programs which completely break in the most extreme manner possible if I change power mode while working.
because of this I would like to make a few AHK scripts to watch the status of if the app is open, this is completely out of the scope of G-Helper in my opinion so I would like to request some sort of communication protocol to, for instance, change power mode or something like that automcatically
Describe the solution you'd like
I would like a feature kinda like the windows
Interprocess communication
so that the community would be able to extend G-Helper without bloating this beautiful application you've madeDescribe alternatives you've considered
An alternative way would be to for instance allow hotkeys like F13 to do things inside G-Helper
Additional context
I have previously mentioned something similar in #357 but now I'm trying to explain it better
The text was updated successfully, but these errors were encountered: