This script is designed to be used to tell the Canon EOS Utility 2 application on macOS to take a photo. To use this script, in the Camera Setup dialog, the Camera Control dropdown menu should be set to Script Trigger
. This script should then be selected in the Script dropdown menu.
Whenever a photo should be taken in Moving Light Assistant, i.e. a preset, channel or cue photo, this script will be run to capture the photo.
What the script will actually do is bring the EOS Utility 2 to the foreground, simulate pressing the Space bar (to take a photo) and then return Moving Light Assistant to the foreground.