From f6c99757672fca29abc41f76d2c61e51d6a6c12b Mon Sep 17 00:00:00 2001 From: Ilya Mazlov Date: Sat, 22 Jan 2022 12:53:00 +0100 Subject: [PATCH] show ini file in explorer --- capsicain/capsicain.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/capsicain/capsicain.cpp b/capsicain/capsicain.cpp index d3bef8d..e30cf5a 100644 --- a/capsicain/capsicain.cpp +++ b/capsicain/capsicain.cpp @@ -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(); @@ -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