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

Program options in ini file or small UI window instead of Windows Registry #32

Open
DCaedus opened this issue Dec 11, 2024 · 1 comment

Comments

@DCaedus
Copy link

DCaedus commented Dec 11, 2024

Can we have the options that are currently only accesible through Windows' Registry be modifiable in another way?

The options I can think of are either:

  1. An ini file located in the same folder the program is in.
  2. A small window that pops up when you click the Tray icon, much like the one that pops up currently when you click on it.

The options I'm mainly interested in are PauseKey, TrayIcon and ProcessNameToPause.

Perhaps the options window could be the main window of the program, with the option to have it minimized either to Windows' task bar or tray as a toggle with a check box, replacing the TrayIcon option.
Nothing fancy, just something as simple as possible (Ik it's prob still a lot of work, but it would add greatly to the program's functionality).

Lastly this program is a life changer, tysm for your work!

@ryanries
Copy link
Owner

Here you go, copy and save this text as a *.reg file:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\UniversalPauseButton]
"Debug"=dword:00000000
"PauseKey"=dword:00000013
"TrayIcon"=dword:00000001
"ProcessNameToPause"=""

Change the values to whatever you want, according to the documentation.
Then save the file.
Then double-click the file to import it into the registry. :)

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

No branches or pull requests

2 participants