Simple program to flash the taskbar icon and/or window of the calling console window (e.g. to flash the window from a .bat
file).
Usage: taskbarflash [options] [num_flashes [flash_rate_ms]]
Options:
-h, --help Print this help screen
-t, --tray Flash the taskbar icon (default)
-w, --window Flash the window caption
-c, --caption Alias for --window
--all Flash both the taskbar icon and the window caption
- Download
taskbarflash.exe
from the releases page - To be able to call
taskbarflash
from any.bat
file, puttaskbarflash.exe
in a directory that is included in your system'sPATH
environment variable. - You can test your installation by running
test.bat
To build taskbarflash, you'll need to install cmake
and some version of Visual Studio.
- To build, run
make.bat
(the.exe
will be inbuild/Release
) - To create a Visual Studio solution, run
make.bat projects
(the.sln
will be inbuild/
) - To remove all build artifacts, run
make.bat clean
- Run
cmake-gui
- Browse to the taskbarflash directory and also set the build directory (typically just add
/build
to the source directory path) - Click Configure
- Select the Generator and hit Finish
- Hit Generate and then Open Project to open the project in Visual Studio
- Build the project in Visual Studio as normal
Open a command line in the taskbarflash
directory and do the following:
mkdir build
cd build
cmake ..
cmake --build . --config Release
If needed, you can specify a generator by doing cmake -G "Visual Studio 14 2015 Win64" ..
instead of cmake ..