Creating a MadCap Flare Build Notification#
A toast notification edited to fit as a MadCap Flare Build Notification.
Requirements#
Important: Python needs to be installed for this script to work in MadCap Flare.
This script uses the module win10toast. To install:
Open your command prompt.
Type pip install win10toast.
Press Enter.
After the install is complete, move on to the next section.
Creating a Batch File#
To implement the notification, users can run a batch file. Complete the steps in the next section to create a batch file that runs this notification.
To create the batch file:
Download the build notification python script.
Copy the path of the script.
Open a text-editor.
Example: Visual Studio Code, Notepad++, etc.
Type
@echo offon one line, andpythonon the next line.Paste the path of the python script in front of
python.
@echo off
python C:path\to\python\file
Save and name the batch file.
Running the Batch File in Flare#
Once the batch file is complete, users can use it in MadCap Flare to run the build notification.
To run the batch file:
Open a MadCap Flare project.
Open a Target.
Select the Build Events tab on the left hand menu of the target.
In the Post-Build Event Command section, copy and paste the location of the batch file.
Save your changes.
Build the target.
After the build finishes, a notification should pop-up informing you that the build is complete.