I'm not good at scripting.
I have many scripts that load itself when i open Metashape and are added in a Custom Menu. (pic 1)
This way i open that menu and click the script i want to run.
Your script does not load automatically when i open Metashape. To make it appear in a custom menu i have to run it through console first. (pic 2).
Is it possible to make it to run automatically when i open Metashape? Can you modify it for me please?