How to initiate probing wizard via keyboard shortcut in OpenBuilds Control

Here’s another example of how to optimize your workflow using JavaScript macros in OpenBuilds Control.

The probing cycles built into OpenBuilds Control certainly make life easier when setting up jobs. Unfortunately, for those of us with bigger machines, probing stock at the far end of the machine is difficult when your computer isn’t close.

JavaScript macros can be initiated via a keyboard shortcut. We can use this feature to launch the probing wizard by calling the appropriate JavaScript function and setting the focus on the Confirm Probe Position button.

To bring up the XYZ Zero probing wizard, create a new macro using the following JavaScript code. Be sure to assign a keyboard shortcut to it.

$(document).ready(function() {
setTimeout(function() { document.getElementById('confirmNewProbeBtn').focus(); },100);
JavaScript macro settings to open probing wizards in OpenBuilds Control.

Depending on what probe you have, when you press your keyboard shortcut either the “Automatic” or “XYZ Zero” probing wizard will launch and set focus to the “Confirm Probe Position” button. Pressing Enter twice will start the probing routine.

You can also press the tab key to get to other probing routines if needed. But that is a slow process and we are trying to make life easier, so here is a list of the other probing wizard functions you can call.

X Zero Wizard:

$(document).ready(function() {
setTimeout(function() { document.getElementById('confirmNewProbeBtn').focus(); },100);

Y Zero Wizard:

$(document).ready(function() {
setTimeout(function() { document.getElementById('confirmNewProbeBtn').focus(); },100);

Z Zero Wizard:

$(document).ready(function() {
setTimeout(function() { document.getElementById('confirmNewProbeBtn').focus(); },100);

If you have any questions, post them in the comments section below.

If you are new to OpenBuilds CONTROL, be sure to check out my OpenBuilds CONTROL tutorial.

OpenBuilds Products I Use (affiliate):

OpenBuilds CONTROL​
Workbee 1510​ (similar to Lead 1010 or Lead 1515)
BlackBox Motion Controller​
BlackBox X32 Motion Controller
Interface CNC Touch Controller​
XYZ Touch Probe Plus


Leave a reply

Your email address will not be published. Required fields are marked *


©2024 Thayne Co


I'm not around right now. But you can send me an email and I'll get back to you, asap.


Log in with your credentials

Forgot your details?