Octolapse Trigger Type Gcode Isn't Working

I set Octolapse to take a SnapShot with Gcode as the Trigger Type. The Octolapse documentation says it will use the snapshot command when using Gcode as the Trigger Type. I enter M240 in my Gcode because it is supposed to trigger the camera according to the Marlin documentation (https://marlinfw.org/docs/gcode/M240.html), but nothing happens.

  1. How to do I get Octolapse to recognise M240 as its cue to take a snapshot?
  2. How can I use any text in my Gcode to trigger Octolapse to take a snapshot?