This script is designed to be used to tell the Adobe Lightroom 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 Lightroom to the foreground, simulate pressing the F12 key (to take a photo) and then return Moving Light Assistant to the foreground.