Last edited time
Sep 28, 2026 2:42 PM
1.) Download the following zip file, extract it, and put api_key.txt and BoxLock.js in C:\ProgramData\Bluebeam Software\Bluebeam Revu\21\Revu\JavaScript
BluebeamFiles.zip6 KiB
2.) Update api_key.txt with your BoxLock API key
3.) In Bluebeam, go to Tools-->Form-->Javascript and create a new script called “BoxLock”
4.) Paste the following 2 lines into the script and save it (replacing E014 etc with name of sheet):
boxlockStartTimer(
this,
"E014 TOWER 1 - DH201 CRITICAL POWER",
30000
);5.) Close and re-open the file. Note: you will have to do step 4 for every file in which you want the BoxLock integration enabled for
6.) Add a form button to the document. Button name and Button label must say “Pause” (with capital P)
7.) Add a javascript trigger to the form button with the following code:
boxlockToggleTimer();
var btn = this.getField("Pause");
if (btn) {
var caption = btn.buttonGetCaption();
if (caption == "Pause") {
btn.buttonSetCaption("Resume");
} else {
btn.buttonSetCaption("Pause");
}
}