[DONE - menu.select] ML access via Lua

Started by garry23, December 08, 2016, 06:28:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

garry23

Help!

David, if you are watching, I'm stumped (again) on a simple syntax problem.

All I need to do is open a sub menu.

I can use this OK to open the ML Shoot menu

menu.open("Shoot")

But how do I a sub menu under Shoot, ie my script called "Auto Bracketing", that I have placed under the Shoot ML menu.

I can't work it out :-(

Cheers

Garry

garry23

OK, I think I've convinced myself we can't yet open a specific ML menu, as the following doesn't open the Shoot menu:

menu.open("Shoot")

...unless someone corrects me ;-)

a1ex

menu.select works:


menu.open()
menu.select("Shoot")

also:

menu.open()
msleep(1000)
menu.select("Shoot", "Intervalometer")
msleep(1000)
menu.select("Intervalometer", "Take a pic every")


More examples: test_menu in api_test.lua.