I've been thinking of changing my debug methods in scripts to write to an external file, since the trace is unreadable with my eyesight, and the console is spammed by usine internal messages. Also I cannot get the filter to work, (no mention of it at all in the manual entry for the inspector) and there is no find function in the console.
At present, I have 277 scripts in my wkp. So to change the debug method for all of them would be a huge hassle. And if I think of another change to it, I can make that change again 277 times. For instance, using usine objects, I am able to turn on and off debugging from a button in the toolbox. This works on the half-dozen scripts that implement it, but not on any of the rest.
It would be really nice to be able to keep common methods like this in a separate file.
INCLUDE function in scripts?
-
woodslanding
- Member
- Posts: 1326
- Contact:
INCLUDE function in scripts?
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify
Hi,
just a question : are the 277 scripts all the same or are they all different ?
if they are the same, a good idea would be to use the procedure thing : one procedure can be used in as much instances that you need.
cheers.
Olivar
just a question : are the 277 scripts all the same or are they all different ?
if they are the same, a good idea would be to use the procedure thing : one procedure can be used in as much instances that you need.
cheers.
Olivar
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Who is online
Users browsing this forum: No registered users and 196 guests
