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