Author Topic: Detect shutter action in Lua  (Read 1155 times)

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 1740
Detect shutter action in Lua
« on: May 28, 2017, 10:32:50 PM »
@dmilligan

I'm a little stuck as I need to detect when an image has been taken, so I can record some variables for later use.

Can you suggest the best way in Lua to detect an image has been taken. I can't see how to do it with event or property.

Or maybe you can't do it, i.e. a feature yet to be realized.

Cheers

Garry

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12241
  • Maintenance mode
Re: Detect shutter action in Lua
« Reply #1 on: May 28, 2017, 10:42:19 PM »
An image triggered from Lua or taken by the user?

I have the first case implemented locally (with an API test that looks whether the CR2 or JPG was saved). Second case is available in ML core, just has to be exposed to Lua somehow.

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 1740
Re: Detect shutter action in Lua
« Reply #2 on: May 28, 2017, 11:03:21 PM »
A canon shutter action.