SynthMaker

permanent counter?

Archive · 2008 11 old posts

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

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.