caco ·
Is it possible to add a web link into a VST or schematic to perhaps allow linking to an online help guide?
From the original SynthMaker forum (2004–2014), with its members’ names and dates.
caco ·
Is it possible to add a web link into a VST or schematic to perhaps allow linking to an online help guide?
stefan ·
Hm. Not atm no. Would be _very_ easy to add though, I'll talk to malc about it.
Basicly you just need a component that takes a string input and a trigger input. This component would in turn call "system()" (if I remember the functions name correctly) with the supplied string as a parameter.
This way, you could tell the OS to execute basically anything. It works just like the "run" command on the start menu.
caco ·
🙂 Thanks Stefen
Tom7777 ·
I would like such a module it would be very useful i think 🙂
infuzion ·
You'll have to change the filepath to Firefox on your system:
I think there's a way to use a DOS program to read the registry, but I'll leave that to you 😉
Tom7777 ·
Well thats not exactly the best way to do it really, what if they had it installed at a different path or a different browser? I think it would be best if there was a module that checked what browser the user has instead of typing a path. I think SE has a module which loads urls but im not sure how its done though.
stefan ·
Tom7777 wrote: Well thats not exactly the best way to do it really, what if they had it installed at a different path or a different browser? I think it would be best if there was a module that checked what browser the user has instead of typing a path. I think SE has a module which loads urls but im not sure how its done though.
The component shouldn't really check for what browser is used. It should just tell the OS to "run" something. Just like the run command, like I explained above. You just have to call the function system() with a string, so it's easily implemented as a component.
GaryG ·
stefan wrote: This way, you could tell the OS to execute basically anything.
um, wouldn't that lead to security holes?
a bit like macro viruses in MS documents?
I'd hate to see SM being branded a dangerous, insecure application... 🙂
.g
Shifrin ·
GaryG wrote: stefan wrote: This way, you could tell the OS to execute basically anything.
um, wouldn't that lead to security holes?
a bit like macro viruses in MS documents?
I'd hate to see SM being branded a dangerous, insecure application... 🙂
.g
It would be no more secure/insecure than any other VST written in C++ where the author can basically write code to do whatever they wish to the system their VST is run on 😉
Shif.
stefan ·
GaryG wrote: stefan wrote: This way, you could tell the OS to execute basically anything.
um, wouldn't that lead to security holes?
a bit like macro viruses in MS documents?
I'd hate to see SM being branded a dangerous, insecure application... 🙂
.g
You'd have to look upon schematics as if they where executables. Like exes and dll's 🙂 Which I guess you do use... Otoh, one could add an option for DISABLING this component, so that you'd be at no risk when opening someone elses schematic.
Macro viruses are a bit more disturbing though, they have the ability to spread between documents. I don't see how this component would make it possible to spread malicious code to other schematics.
Wrote something here? To have a post removed or your name hidden, write to [email protected].