Monitoring the photo booth state

The state of the photo booth can be monitored by reading the title of the full screen photo booth window. For example when photo booth is in the ready state waiting for the next session the ready.jpg screen is displayed and the title of the window will be something like this:

Breeze Systems Photobooth - C:\Users\photobooth\Documents\PhotoboothImages\event\ready.jpg

Additional information is also available as hidden text in the full screen photo booth window e.g.

PhotoboothStatus: prints=1; printCounter=111, output=2, color=0, numPhotos=1, profile=, uid=OEH25911, uid2=IWOKU463

PhotoboothText:

Power Zoom: not connected

QR:

The "PhotoboothStatus:" line contains the number of print copies (prints) and the print counter (PrintCounter). The output value shows whether the output is set to print only, print and JPEG copy, JPEG copy only or none. The color value shows whether color, B&W, toned or one of the filter settings is selected. The numPhotos value shows the number of photos that will be taken in stills photo booth mode. The profile value shows the pathname of the most recently loaded profile. The uid and uid2 values show the values of the {uid} and {uid2} tokens.

The "PhotoboothText:" line shows the value of the text displayed during the countdown before taking each photo.

The "Power Zoom:" line shows the status of the power zoom if the camera has a powered zoom lens

The "QR:" line shows the URL of the most recently scanned QR code. This is reset to an empty string when the ready screen is displayed.