SeldomSeenKid wrote:Can I install callbacks in Lua or Python?
If you search on the Steakunderwater forum you will see several threads that discuss the revised way to use callbacks that was added by BMD in Fusion v8.2.1+ and Resolve Fusion page v15+. This functionality is implemented with an approach that is called events/actions inside of Fusion Standalone, and inside the Resolve Fusion page area.
A new callback is created by placing your Lua or Python code block inside a quoted text string that is saved in a text file with the .fu file extension. The structure of this file is known as a "Lua table" and it looks vaguely like a JSON file but is slightly different in formatting rules that can be read about in the Lua programming language manual.
That .fu file document is saved into your Fusion user prefs "Config" folder. This location is also known as "Config:/" in the relative filepath system in Fusion called the PathMap system.
The .fu files are scanned at startup of Fusion so you need to relaunch Fusion or Resolve for your most recent .fu edits to be activated. You can make your own sub-folders inside the "Config:/" PathMap folder to categorize your custom .fu based events/actions/hotkey bindings/custom Fusion Studio menu entries into their own tidy hierarchies.
There is also another variant on a .fu text file called a .zfu which is a store-compressed zip archive which holds the .fu file along with any companion resources like lua scripts (with UI Manager based GUIs defined), or custom icons you want, etc. These resources are placed side-by-side in the root level of zip file, typically with no sub-folders wrapping the content. There is a syntax you use when running scripts and accessing resources from inside this zipped archive which is described on the Steakunderwater forum posts about events/actions.
Good Luck!