SynthMaker

Adding URLs?

Archive · 2006 10 old posts

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].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.