Page 1 of 1

Wire trigger from file creation to load clip

Posted: Tue Aug 02, 2022 08:59
by bcrotaz
Looks like Wire can make changes to Resolume layers from triggers. Great!

How do I trigger from an external event such as a user saving a file in photoshop?

If that trigger doesn’t exist, how do you code or script new node types?

Re: Wire trigger from file creation to load clip

Posted: Mon Aug 08, 2022 09:16
by Zoltán
You'd need an app which has access to file system events.
Wire can't do that at this time unfortunately.

Maybe the user could press a button when they save the file, which would then send OSC to Resolume or a Wire patch?

Though if you are trying to overwrite files in Resolume while they are loaded, that will lead to unexpected things happening.

Re: Wire trigger from file creation to load clip

Posted: Mon Aug 15, 2022 09:50
by bcrotaz
ok, how do I write a new node as a plugin for Wire?

Re: Wire trigger from file creation to load clip

Posted: Tue Aug 16, 2022 14:39
by Zoltán
Making custom nodes for Wire is not possible currently.
Well, there is ISF, but that doesn't have access to the file system.

FFGL plugins loaded in Resolume could have access to the file system, or a custom app you write could do what you want through the API.

Re: Wire trigger from file creation to load clip

Posted: Tue Aug 23, 2022 07:45
by edwin
Like Zoltan mentioned the rest-api would be the best way to go about this.
It has support for loading files as well as sources.
https://resolume.com/support/en/restapi

The rest-api can be used from almost any language and its easy to work with.