kirkagur ·
hi
how can i make a permanent counter or value?
if i want to know how many times my program was opened or what was the last date that i opened it. or for how long i used it ever.
i think you will get the idea...
is there any way ?
From the original SynthMaker forum (2004–2014), with its members’ names and dates.
kirkagur ·
hi
how can i make a permanent counter or value?
if i want to know how many times my program was opened or what was the last date that i opened it. or for how long i used it ever.
i think you will get the idea...
is there any way ?
aliasant ·
kirkagur wrote: hi
how can i make a permanent counter or value?
if i want to know how many times my program was opened or what was the last date that i opened it. or for how long i used it ever.
i think you will get the idea...
is there any way ?
well You would have to save to a text file. The next time the plug opens it reads that text file and saves a new one with an added +1.
kirkagur ·
is there any way to do it with out any extra files?
something internal with the dll
i saw that there is a time primitive with trigger & store .
how can i make it to save only the date of the first time i opened the file?
sunsynth ·
Hi Barak,
here a quick 'n dirty version that should work: The trick is the VSTStr inside the labels... (don't forget 2 redraw and retrigger with the WL 'After Preset Change') Here i used Seconds but minutes would be better i think 😉 P.S: You can also add the date etc. 2 the string...
kirkagur ·
sunsynth wrote: Hi Barak,
here a quick 'n dirty version that should work: The trick is the VSTStr inside the labels... (don't forget 2 redraw and retrigger with the WL 'After Preset Change') Here i used Seconds but minutes would be better i think 😉 P.S: You can also add the date etc. 2 the string...
Hi sorry but it`s still refuse to work.
it wont save the value from time to time.(the value get reset when you open the exe again)
P.S- my English is so bad that i don't know if you guys in this forum understand what i mean most of the times. 🙂 feel free to correct me if i am making a stupid English mistakes .
infuzion ·
kirkagur wrote: is there any way to do it with out any extra files?
No, SM doesn't have self-editing code.
kirkagur ·
so how do you create a demo that runs only 30 days?
infuzion ·
kirkagur wrote: So how do you create a demo that runs only 30 days?
Right now, you do not it seems, sorry! Plop a request in the request forum... we could need a system-date reader, something to store variables inside the VST,... not sure what else.
sunsynth ·
For standalone-programs i use my own preset-Text-Loader and a second file for 'Last Prog/Preset' -used...
The simplest 30 day-run check is a hidden file in a windows-folder with a ciphered-date-code... Generated or installed on first start and checked everytime your program is started!
SUNsynth
kirkagur ·
sunsynth wrote: For standalone-programs i use my own preset-Text-Loader and a second file for 'Last Prog/Preset' -used...
The simplest 30 day-run check is a hidden file in a windows-folder with a ciphered-date-code... Generated or installed on first start and checked everytime your program is started!
SUNsynth
how do you create this file?
i cant find any thing that i can trigger only once on first load ...
unless you create the file during installation ?
sunsynth ·
My idea was:
1. check if 1st start: (If used=1; trigger and sample the date) 2. if file dos'nt exists Create/Save it (date + used) 3. If file exists read/load it and compare the date saved with actual one 4. if diff >30 lock prog with a shareware-window etc. 5. done...
Wrote something here? To have a post removed or your name hidden, write to [email protected].