-
Notifications
You must be signed in to change notification settings - Fork 21
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
lost on the way to adding two keys #31
Comments
Hello, the functionality you are looking for (disable color effects or enable them with a dedicated hotkey) does not exist. The only shortcuts close to what you want are a shortcut to toggle color effects, and one to exit the app. I'm curious: why do you want to control enabling and disabling color effects independently? |
@mlaily I was trying to make the program only invert the screen when specific applications are active, such as notepad and taskmanager, and only invert the screen when these two are active. I already had an ahk script, so all I needed were the enable and disable keys. Using the toggle is not an option because it will result in a random result. This is the ahk script.
Reading this, I assumed that I could simply add ENABLE and DISABLE to negativescreen.conf alongside TOGGLE and SET "Color effect name" and it would work, but since you say that doesn't exist, what do ENABLE and DISABLE do? |
Ok I see. The quote from the documentation mentioning ENABLE/DISABLE is about the internal http API. This api is indeed meant to do the kind of thing you want possible. The api is disabled by default though. You have to enable it by setting I don't know autohotkey well enough, but here is a working example with a powershell command: I didn't test it, but it looks like this could work with ahk:
|
@mlaily the PowerShell command did it for me, thank you! ♥ |
hello total noob i really like the program, but i'm not sure how to add these two keys to invert or revert
Enable=win+alt+I
Disable=win+alt+R
because they don't work in negativescreen.conf and crashes the program, and i did more research, and chat gpt suggested adding the buttons with an ahk script? i'm so confused i just want to add two buttons to the program, and it's this difficult?
The text was updated successfully, but these errors were encountered: