Jump to content











Photo
- - - - -

WB build counter


  • Please log in to reply
8 replies to this topic

#1 PaPeuser

PaPeuser

    Silver Member

  • Advanced user
  • 787 posts
  •  
    United States

Posted 13 March 2010 - 05:20 PM

I have rerun Winbuilder so many time, I wondered how many

So is it ok that i ask for a total number of times run to be displayed. I know you will put this at the top of things to do ,,, :cheers: :cheers:

#2 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 13 March 2010 - 05:39 PM

Am i right to assume that you look for a counting like that: "1, 2, many"? :lol: :cheers:

:cheers:

#3 PaPeuser

PaPeuser

    Silver Member

  • Advanced user
  • 787 posts
  •  
    United States

Posted 13 March 2010 - 05:55 PM

Well WB version # should come first like ... wb 080 build 101 :lol:

#4 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 13 March 2010 - 06:54 PM

I have rerun Winbuilder so many time, I wondered how many


total hit green or blue play
20100311 - 27
20100312 - 45
20100313 - 45

total hit for blue (~)
20100311 - 4
20100312 - 6
20100313 - 7

Well WB version # should come first like ... wb 080 build 101 :lol:

somewhere
there was a request (I guess from paraglider) to have wb version number on log
ex:
log_20100310_004749_wb080.html

#5 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 13 March 2010 - 11:35 PM

This can be added inside script.project

Just edit the project introduction inside winbuilder.

Look at the [main] section and add the code to read the number from another section, increment the value and write it back.

It might be a good challenge to help you to learn some tidybits about scripting.

I'll point you to the syntax that you can use to achieve this.

To read and write values to INI files:
http://winbuilder.ne...x.html#IniWrite
http://winbuilder.ne...ax.html#IniRead

To increment a value:
http://winbuilder.ne...t_INCDECMULTDIV

Good luck!

:lol:

#6 PaPeuser

PaPeuser

    Silver Member

  • Advanced user
  • 787 posts
  •  
    United States

Posted 13 March 2010 - 11:55 PM

Gulp... ,

Ok i will get right on it :cheers: :lol: ;),

I just have a few things to finish up,

Thanks for the links,,

this should be good,, OO boy

#7 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 14 March 2010 - 12:22 AM

Breath deep.. eheh.. I promise it's actually much easier once you get your hands down to it.

Don't forget to post here your progress or doubts.

I'll be glad to help you getting this going and you'll quickly learn how to change anything else to work the way you like it.

:lol:

#8 PaPeuser

PaPeuser

    Silver Member

  • Advanced user
  • 787 posts
  •  
    United States

Posted 14 March 2010 - 12:53 AM

Well i might have some time soon, I think i found a big problem with Win7, i need to look at this some more before i report

Then we will get right to it ..

#9 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 14 March 2010 - 02:27 AM

Ok, good luck solving the problem.

:lol:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users