SynthMaker

New function on the file dialog

Archive · 2009 6 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

Freddymusic ·

I have a simple registration tool plugin to the vst and i have a problem. it's work only with english xp or vista. But on miscellaneous language system not possible. I can write into the "Documents and settings\All Users" a txt file with Shell execute, and with "%AllUsersProfile%", but i can not read. Tzarls given me a plugin, but it's work only with disabled UAC. Solution of Tzarls elegant, but half-solution becouse synthmaker is not use environment variable just with shell execute and with the File dialog.

what would happen if file dialog would present a new function? If i push the trigger button, and the "auto" is "true" then doesn't open the dialog window, just it's would load automatically.

TomC ·

Use 'Shell Execute' to execute:

echo %USERPROFILE% > userpath.txt

then read the file userpath.txt (which is created in the same folder where your plug-in is) with the 'Load' primitive. The contents string of the 'Load' primitive has the content of the %USERPROFILE% variable.

Don't forget the quotes ("") around the string in case it has spaces in the path.

Tom

Freddymusic ·

Ok, i'm a difficult person. I know this solution, and it's work on xp, if i'm "administrator". But i would like to use on Vista with enabled UAC. If UAC enabled, "echo" is doesn't save.

TomC ·

Freddymusic wrote: Ok, i'm a difficult person. I know this solution, and it's work on xp, if i'm "administrator". But i would like to use on Vista with enabled UAC. If UAC enabled, "echo" is doesn't save.

I don't use Vista, and most probably never will, so someone else should have a look at this.

Tom

Freddymusic ·

doesn't matter. Thank you for the help! 🙂

sunsynth ·

Damn Tom Ur right...

I got Vista with my new Quad but it crashed very soon with a permanent black screen 😝

Now win 7 works fine on it 😉

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.