Skip to content

Flash the taskbar icon and/or window of the calling console window (e.g. from a batch file)

License

Notifications You must be signed in to change notification settings

squeek502/taskbarflash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

taskbarflash

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

Installation

Building

To build taskbarflash, you'll need to install cmake and some version of Visual Studio.

Using make.bat

  • To build, run make.bat (the .exe will be in build/Release)
  • To create a Visual Studio solution, run make.bat projects (the .sln will be in build/)
  • To remove all build artifacts, run make.bat clean

Using cmake-gui

  • 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

Using cmake

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 ..

About

Flash the taskbar icon and/or window of the calling console window (e.g. from a batch file)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published