A toast notification edited to fit as a MadCap Flare Build Notification.
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.
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.
-
Download the build notification python script.
-
Copy the path of the script.
-
Open a text-editor.
Example: Visual Studio Code, Notepad++, etc.
-
Type
@echo off
on one line, andpython
on 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.
Once the batch file is complete, users can use it in MadCap Flare to run the build notification.
-
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.
Example: "D:\path\to\batch\file"
-
Save your changes.
-
Build the target.
After the build finishes, a notification should pop-up informing you that the build is complete.