- Posts: 8
- Joined: Mon Mar 04, 2024 4:30 pm
- Real Name: Franco Zega
Hi everyone, I'm new to this environment and this program,
so forgive the questions, which are certainly banal.
to start I'm simply trying to create a button in an html page that returns me the name of the timeline....
I followed the basic instructions and copied the example plugin under the folder ... "Blackmagic Design\DaVinci Resolve\Support\Workflow Integration Plugins\"
then in the html page I copied as per example:
but I get the following error:
Uncaught Error: \\?\C:\ProgramData\Blackmagic Design\DaVinci Resolve\Support\Workflow Integration Plugins\SamplePlugin\WorkflowIntegration.node is not a valid Win32 application.
\\?\C:\ProgramData\Blackmagic Design\DaVinci Resolve\Support\Workflow Integration Plugins\SamplePlugin\WorkflowIntegration.node
I'm definitely doing something wrong...
Could you kindly tell me how to initialize the script?
Did I take the wrong approach?
Thanks for the kind replies.
so forgive the questions, which are certainly banal.
to start I'm simply trying to create a button in an html page that returns me the name of the timeline....
I followed the basic instructions and copied the example plugin under the folder ... "Blackmagic Design\DaVinci Resolve\Support\Workflow Integration Plugins\"
then in the html page I copied as per example:
- Code: Select all
const WorkflowIntegration = require('./WorkflowIntegration.node');
const pluginId = "com.blackmagicdesign.resolve.sampleplugin";
isInitialized = WorkflowIntegration.Initialize(pluginId);
if (!isInitialized) {
alert("Error: Failed to initialize!");
}
// Get resolve object
resolve = WorkflowIntegration.GetResolve();
if (!resolve) {
alert("Error: Failed to get resolve object!");
}
const currentTimeline = resolve.GetProjectManager().GetCurrentProject().GetCurrentTimeline()
console.log(currentTimeline)
but I get the following error:
Uncaught Error: \\?\C:\ProgramData\Blackmagic Design\DaVinci Resolve\Support\Workflow Integration Plugins\SamplePlugin\WorkflowIntegration.node is not a valid Win32 application.
\\?\C:\ProgramData\Blackmagic Design\DaVinci Resolve\Support\Workflow Integration Plugins\SamplePlugin\WorkflowIntegration.node
I'm definitely doing something wrong...
Could you kindly tell me how to initialize the script?
Did I take the wrong approach?
Thanks for the kind replies.