how to create a "run count" editor???

nmobp

New Member
Licensed User
Hello everybody!

My very first post in this forum. I am looking for an application to install on my PPC that will provide me with information on how many times a specific -other- program in my PPC is run. This could be described as a "run count software" type of thing. Any ideas if such a program exists? Could this application be created easily with Basic4ppc?

Thanks for any advice!

Nicholas
 

Zenerdiode

Active Member
Licensed User
Unless the applications have counters coded in to them, its not going to be that easy.

You may want to have a look at dzt's useful library. There is a method called GetProcesses that you may be able to call repeatedly and increment a counter when your chosen software runs. To do this, I suggest your Basic4PPC program runs as soon as the device is switched on (place a shortcut to it in the 'startup' folder) and have the program running minimised in the background.
 

mjcoon

Well-Known Member
Licensed User
... You may want to have a look at dzt's useful library. ...

But Nicholas (nmobp) is showing up as a visitor not a registered user so won't be able to download libraries... (Unless, like some, he is using an alias.)

There is also an ambiguity. If "the number of times a program is run" means the number of times that it is started up, the sampling process that Zenerdiode suggests will only yield a useful result if there is a sample that shows the program is not[/U running in between it being present. This would imply it has been stopped and restarted.

Mike.
 
Top