Controlling the Photo Booth

Scripts and external applications can control the photo booth by sending key presses (see Keyboard Shortcuts) or by sending WM_COPYDATA Windows messages to the photo booth window.

WM_COPYDATA Messages

Data value Description
100 Pathname of a photo — signals that post-processing of that photo has completed (equivalent to Ctrl+Z in the droplet.ahk script).
200 A URL containing commands and/or strings — processes QR code-style URLs to control the booth, read user info, and send emails. See QR Codes and Contactless.
300 Text of a touchscreen command — runs any defined touchscreen action. Matching ignores case, spaces, and punctuation.
301 Text of a touchscreen command — same as 300, but the action does not need to be defined in the touchscreen editor. Useful for payment-accepted signals from external payment systems.

Example: Data=300 command matching

The following strings all match a touchscreen action named Select photobooth+start:

  • Select photobooth+start
  • select photobooth+start
  • selectphotobooth+start
  • selectphotoboothstart