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

ESC+O: show ini file in explorer #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions capsicain/capsicain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,12 @@ bool processCommand()
cout << "ERROR LOG: " << endl << errorLog << endl;
popupConsole = true;
break;
#ifdef _WIN32
case SC_O:
cout << "SHOW INI";
system("explorer.exe /select,\"capsicain.ini\"");
break;
#endif
case SC_R:
cout << "RELOAD INI";
reload();
Expand Down Expand Up @@ -1640,6 +1646,9 @@ void printHelp()
<< "[E] Error log" << endl
<< "[C] Print list of key labels for all scancodes" << endl
<< "[R] Reset and reload the .ini file" << endl
#ifdef _WIN32
<< "[O] Show the .ini file in the file explorer" << endl
#endif
<< "[T] Move Taskbar icon to Tray and back" << endl
<< "[I] Show processed Ini for the active config" << endl
<< "[A] Autohotkey start" << endl
Expand Down