here is an example, of how you can switch on / off the camera window.
Add a button named Camera on
assign "Execute Basic Script" with the following Content:
SetUserLed(1102,1) (if LED number 1102 is used by another control, take an unused one)
Add another button named Camera Off
assign "Execute Basic Script" with the following Content:
SetUserLed(1103,1) (if LED number 1103 is used by another control, take an unused one)
In Mach3 goto Config -> Config Plugins Enable WebCamPlugin-Version-V2.12
restart Mach3
goto Config -> Config Plugins -> CONFIG check "Macro control on"
if you had to change the LED numbers, because they where used by other controls, you can assign the proper LED number in that Dialog
Klaus