Ranter
Join devRant
Do all the things like
				++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
				Sign Up
			Pipeless API
				From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
				Learn More
			Comments
		- 
				
				@DeveloperACE
It's still stupidly simple, it only detects 1 application at the moment because it's hardcoded to, I'll upload my code to Github now.
But I have a plan to expand on it, but you're welcome to have a go.
https://github.com/IronPhreak/... - 
				
				
orijin20129yAwesome! I need this for devRant and an arduino electro-shocker connected with it! BUZZ BUZZ - 
				
				One thing I was going to try is to scan common game folders (Steam libraries) and take any process names from that, add it to a list and check it against currently running processes.
If that works, I'll give it a GUI to allow some customising - 
				
				@FelisPhasma
At no point did I say I'm an expert
I'm self taught and still very new.
Besides, it was a quick concept, I'll be expanding on it - 
				
				@IronPhreak Hey, it's a great idea, I'm just giving you a hard time. Would you be interested in contributors?
 - 
				
				@FelisPhasma
Hey, i welcome jabs and jokes :)
I also welcome contributors. I do my best but I know I'm lacking knowledge. - 
				
				Cool. Forked. I'm going to play with it a little. Perhaps see if I can get it to recognize more than just gaming windows. How about Chrome tabs! Particular websites that can only be accessed if you code enough. Coding credits!
 - 
				
				@tisaconundrum I'm forking it too... I want to see if I can detect all steam games collectively. Also, don't block devRant.
 - 
				
				@YounessFkhach
Ha hell yeah, so much fun
Nah, just wanted to see if I could detect it's process and kill it - 
				
				@IronPhreak That's true. And launching all steam games goes through a steam launcher. It would me nice to build a UI so the user could set their goals of time per day.
 - 
				
				@IronPhreak I can easily design that part for you. The only problem is that it will be in Qt, C++
Sorry it's what I'm familiar with right now. - 
				
				It would be a bit of a dirty hack. But what you can do is set up the UI to spit out terminal commands to be runned
 - 
				
				@tisaconundrum If you build the UI code as a .dll then c# can interface directly with it...
 - 
				
				Best part about this is... I don't know enough coding to keep up with you guys :P
Least i gave the idea ^_^
*Fly my pretties, fly hahahaha*
*cough*
Go on folks, if you want to build a better version than I could, I welcome it :) - 
				
				@IronPhreak I'm back from the nether regions of git, to bring you good news. I've pull requested you for the UI. See what you think
 - 
				
				@IronPhreak there's a first for everything. Btw I royally screwed up my repository. But it's good now. I put up another pull request for you. And added some nice pictures within the repo
 
Related Rants

How do you even come up with shit like this?
I found such a treasure today in the production code.
Started testing out the concept of a new application I'm developing (nothing special)
I always seem to play games instead of coding, so I'm developing a trainer which monitors for any open games and checks whether I have coded enough in a day to play games.
If I haven't coded for long enough, it will force close the game and warn me.
Further development to happen.
undefined
concept
c#