Welcome Guest.   Make a donation to an author on the site April 24, 2014, 05:36:42 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Your Support Funds this Site: View the Supporter Yearbook.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: GetSerious0.1 - (don't expect much)  (Read 5045 times)
kobi7
Member
**
Posts: 19

View Profile Give some DonationCredits to this forum member
« on: January 23, 2011, 12:00:41 AM »

Hey guys, here's a simple program, couple of hours work, I wrote it in C#.

The purpose of it is to keep you more focused.
It places itself at the bottom right corner, always on top.
It displays a list of window titles, and the percentage of the time you spent on each one. (updates every second)
It is really simplistic.

To close the program, click it and press Alt+F4.

I'll probably post a chat program that I work on, later on.

* GetSerious.zip (5.32 KB - downloaded 80 times.)
Logged
Stephen66515
Animated Giffer in Chief
Honorary Member
**
Posts: 2,336



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #1 on: January 23, 2011, 12:02:34 AM »

Screenshots please.

*edit*
Just noticed your new lol... welcome to DC!  cheesy
Logged

No trees were harmed during the creation of this message.  Millions of electrons, however, were terribly inconvenienced

"Think left and think right and think low and think high. Oh, the things you can think up if only you try!" - Dr. Seuss
Renegade
Charter Member
***
Posts: 10,364



Tell me something you don't know...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #2 on: January 23, 2011, 01:58:57 AM »

Actually, I could really use that. However, this is the first time you've posted, and I'm simply not that trusting. I would be willing to build from source, but... Sorry. Just skittish about things.
Logged

Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker
Stoic Joker
Honorary Member
**
Posts: 4,883



View Profile WWW Give some DonationCredits to this forum member
« Reply #3 on: January 23, 2011, 09:00:31 AM »

Actually, I could really use that. However, this is the first time you've posted, and I'm simply not that trusting. I would be willing to build from source, but... Sorry. Just skittish about things.

Compiled with Visual Studio 2008 by K1, doesn't contain any networking or file system code... *Shrug* ...Looks safe enough.

Kinda cute really, but did not stay on top, and needs an off button of some kind.

« Last Edit: January 23, 2011, 09:03:18 AM by Stoic Joker » Logged
timns
Supporting Member
**
Posts: 1,209



Veni, vidi, debuggi

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: January 23, 2011, 11:57:08 AM »

But a helluva good way to jump into the spirit of DC  Thmbsup
Logged

kobi7
Member
**
Posts: 19

View Profile Give some DonationCredits to this forum member
« Reply #5 on: January 24, 2011, 11:41:37 AM »

Actually, I could really use that. However, this is the first time you've posted, and I'm simply not that trusting. I would be willing to build from source, but... Sorry. Just skittish about things.

hi Renegade. perfectly understandable.
Actually, it's just a thread that increments a hashtable (dictionary) every second. and some winforms code.
I can send source code if you're interested but it's not much to learn from. basic stuff, and prepared in a day for my own usage.
however I am working on a chat client (student handout work), and wanted to post as a donationware here.
After I get it done, I hope to ask you guys to be an author here. is there a procedure to follow?

Quote
Compiled with Visual Studio 2008 by K1, doesn't contain any networking or file system code... *Shrug* ...Looks safe enough.
Hey that's great, I'd be interested to know what tool do you use to know this?

Quote
Kinda cute really, but did not stay on top, and needs an off button of some kind.
kinda cute: Thanks! I noticed if I have a stop watch running, I'm more aware of using my time for work.
So this was just a quick idea, to time or check myself.
stay on top bug?: I only tested on windowsXP -- doesn't it stay on top on your machine?
off button: I can of course make it a little prettier and add a context menu with exit - would that be good?
I wanted it to be minimal, so I even removed the titlebar.

suggestions welcome.



But a helluva good way to jump into the spirit of DC  Thmbsup

Thanks!

Logged
Stoic Joker
Honorary Member
**
Posts: 4,883



View Profile WWW Give some DonationCredits to this forum member
« Reply #6 on: January 25, 2011, 07:02:01 AM »

I hope to ask you guys to be an author here. is there a procedure to follow?

Not that I'm aware of - other than what you've done already - Not much on formality here... Wink


Compiled with Visual Studio 2008 by K1, doesn't contain any networking or file system code... *Shrug* ...Looks safe enough.
Hey that's great, I'd be interested to know what tool do you use to know this?
As silly as it may sound, Notepad. I spend alot of time working in the field so seldom have handy access to all the fancy stuff. You really can learn alot about a program (if you're used to looking for it)  by tossing into a plain text editor.

stay on top bug?: I only tested on windowsXP -- doesn't it stay on top on your machine?
Correct on Win7 x64 it went behind my compiler (also MSVS2k8).

off button: I can of course make it a little prettier and add a context menu with exit - would that be good?
I wanted it to be minimal, so I even removed the titlebar.

Understood, less is more ... until it isn't enough. People just tend to feel better about (turning on) a thing, if there is a readily apparent safe and obvious way of turning it back off... smiley

Logged
kobi7
Member
**
Posts: 19

View Profile Give some DonationCredits to this forum member
« Reply #7 on: January 25, 2011, 04:51:14 PM »

Hello friends, updated software.

changes from GetSerious 0.1
===========================
+ changed window to "fixed tool window" mode, and returned control box so you can exit it.
+ added tracks. label and progressbar inside a 2 column table.
+ the ui now uses the tracks. looks better.
+ (changed text to rows.)
+ (changed progress text to progress bar.)
+ the table now has 3 columns.
+ added a little time representation h:m:s -> 2h:18m:3s
+ optimized drawing code a little (adds rows only when needed)

I don't plan to change much more here.
possibly add a systray icon to show/hide the window. (if a next version will happen)

Enjoy!
PS: source is added this time.
(donationcoder is not about open source, this time it's added because it's like a small sample application)

PS2: if you have suggestions for tiny software you need, let me know.
Thanks, Kobi

* GetSerious.zip (7.04 KB - downloaded 85 times.)
* GetSerious_src.7z (39.33 KB - downloaded 84 times.)
Logged
wraith808
Supporting Member
**
Posts: 5,815



"In my dreams, I always do it right."

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #8 on: January 25, 2011, 05:29:08 PM »

(donationcoder is not about open source, this time it's added because it's like a small sample application)

Donation Coder is about sharing software- open source included!  And the concepts of donation ware software and open source are not mutually exclusive... smiley
Logged

Stoic Joker
Honorary Member
**
Posts: 4,883



View Profile WWW Give some DonationCredits to this forum member
« Reply #9 on: January 25, 2011, 07:37:06 PM »

A movable window (on a rubber-band) that snaps back into the corner strikes me as a bit counter intuitive.

I like the progress bars for an at-a-glance overview, but they are a bit too active (draws the eye badly). Perhaps they could update from their current position, instead of zero each time to cut down on the blinking effect.

The show/hide systray icon idea would definitely help in the user friendly department.
Logged
kobi7
Member
**
Posts: 19

View Profile Give some DonationCredits to this forum member
« Reply #10 on: January 26, 2011, 08:39:44 AM »

I don't plan to change much more here.
excuse me, I was tired. any suggestions are welcomed!

here is another minor release.
I think it's pretty good now.

new: magnetized when close, but movable.
new: can hide or show.
new: has a systray icon, albeit not very pretty.
even when hidden, it continues to keep statistics.
hope this is good for your productivity - timing yourself, or staying more focused

Enjoy :-)

Kobi

* GetSerious_0.22_src.7z (55.54 KB - downloaded 75 times.)
* GetSerious_0.22.zip (11.47 KB - downloaded 83 times.)
Logged
kobi7
Member
**
Posts: 19

View Profile Give some DonationCredits to this forum member
« Reply #11 on: January 30, 2011, 10:51:42 AM »

A movable window (on a rubber-band) that snaps back into the corner strikes me as a bit counter intuitive.
Fixed. now you can move it. it will jump back to screen when you put it offscreen, and when close by to one of the walls, will jump to it (magnetize).

I still need to disable double clicking the title, and make close X only hide it to systray.
there is visibility in systray now, you can exit, or show/hide it.

I like the progress bars for an at-a-glance overview, but they are a bit too active (draws the eye badly). Perhaps they could update from their current position, instead of zero each time to cut down on the blinking effect.

Does it flicker for you with the latest version?

you may try it.
any other suggestions?
right now it's fixed on showing the top 10 applications, I can have it configurable if you guys want.
see you soon, kobi
Logged
kobi7
Member
**
Posts: 19

View Profile Give some DonationCredits to this forum member
« Reply #12 on: January 31, 2011, 03:27:34 AM »

Another version.

you can now increase or decrease the number of items shown, by clicking (left click / right click) the +/- label in the new status bar.
closing a window, now only hides it.
better systray icon. (?)
systray menu done.

sources are included.
Enjoy.

I improved on my winforms knowledge from this tiny application. (understood their concept better)
This is probably the last version (unless you find a bug), as I'm content with the result.

Hope to post here something more meaningful, yet still as simple to use, in the near future.
See you, Kobi

* GetSerious03.src.7z (68.13 KB - downloaded 87 times.)
* GetSerious03.zip (18.19 KB - downloaded 92 times.)
Logged
Stoic Joker
Honorary Member
**
Posts: 4,883



View Profile WWW Give some DonationCredits to this forum member
« Reply #13 on: January 31, 2011, 07:06:08 AM »

A movable window (on a rubber-band) that snaps back into the corner strikes me as a bit counter intuitive.
Fixed. now you can move it. it will jump back to screen when you put it offscreen, and when close by to one of the walls, will jump to it (magnetize).

Cool, I like best of both solutions.

I like the progress bars for an at-a-glance overview, but they are a bit too active (draws the eye badly). Perhaps they could update from their current position, instead of zero each time to cut down on the blinking effect.

Does it flicker for you with the latest version?

Perhaps I explained that badly. Flickering implies that the program is rendering badly/malfunctioning...Which it is not. It runs fine.

It is the as designed behavior of repetedly going from zero to X that keeps the UI in a constant state of motion. Which is what tends to draw the eye.
Logged
skwire
Charter Member
***
Posts: 3,912



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #14 on: January 31, 2011, 01:49:38 PM »

FWIW, it seems to work but doesn't display properly on my computer (Windows XP SP3).  Here's a screenshot:



Logged

Stephen66515
Animated Giffer in Chief
Honorary Member
**
Posts: 2,336



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #15 on: January 31, 2011, 03:12:58 PM »

Ya know this would be kinda cool if you could have a live link to a forum sig code, where it updates your forum sig with what software your using most (not the page titles or anything).  Could be quite fun to see lol
Logged

No trees were harmed during the creation of this message.  Millions of electrons, however, were terribly inconvenienced

"Think left and think right and think low and think high. Oh, the things you can think up if only you try!" - Dr. Seuss
skwire
Charter Member
***
Posts: 3,912



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #16 on: January 31, 2011, 03:18:45 PM »

Ya know this would be kinda cool if you could have a live link to a forum sig code, where it updates your forum sig with what software your using most (not the page titles or anything).  Could be quite fun to see lol

You can pretty much do this with Wakoopa.  Check out Perry's sig.
« Last Edit: January 31, 2011, 06:27:41 PM by skwire » Logged

Ath
Supporting Member
**
Posts: 2,134



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #17 on: January 31, 2011, 03:53:45 PM »

Hm, it's pretty useless for registering what app is been most active, as it's selected based on the windows title instead of app-class, as the title changes with ever new page I select using my browser, or changing directories with my file explorer.

And the constantly moving progress bar is quite annoying as well, after about 10 seconds ohmy.
Logged

kobi7
Member
**
Posts: 19

View Profile Give some DonationCredits to this forum member
« Reply #18 on: January 31, 2011, 04:57:49 PM »

It is the as designed behavior of repetedly going from zero to X that keeps the UI in a constant state of motion. Which is what tends to draw the eye.

hi Stoik, I did some work.
I think this behaviour is due to a vista theme where the progress bars animate from zero to their current spot.
and since I use xp, I didn't understand at first what you meant.

here's a customized version - see if it solves the problem for you.
and heh, I had to choose a color, green looks classic.

also try clicking the +/- it limits the number of items shown. (left click increments, right click decrements)

I believe that's all for this little program. see ya

* GetSerious03 with Stoik tracks.zip (57.4 KB - downloaded 67 times.)
Logged
Ath
Supporting Member
**
Posts: 2,134



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #19 on: January 31, 2011, 05:20:04 PM »

I think this behaviour is due to a vista theme where the progress bars animate from zero to their current spot.
and since I use xp, I didn't understand at first what you meant.

here's a customized version - see if it solves the problem for you.
and heh, I had to choose a color, green looks classic.

Pfew, that a lot less distracting. And that green is really classic, close to my car's color, British Racing Green  Kiss

When clicking a bit on the +1/-1 semi-button, it changes to some count (up and down with left/right mouseclicks), that has no relation to the number of app-titles shown, don't know what that's supposed to mean? The +1/-1 didn't return, but I could it to go to "15 items shown" (and more if I wanted to), though there are only 4 items actually showing huh
Logged

Stoic Joker
Honorary Member
**
Posts: 4,883



View Profile WWW Give some DonationCredits to this forum member
« Reply #20 on: January 31, 2011, 06:35:27 PM »

It is the as designed behavior of repetedly going from zero to X that keeps the UI in a constant state of motion. Which is what tends to draw the eye.

hi Stoik, I did some work.
I think this behaviour is due to a vista theme where the progress bars animate from zero to their current spot.
and since I use xp, I didn't understand at first what you meant.

here's a customized version - see if it solves the problem for you.
and heh, I had to choose a color, green looks classic.

also try clicking the +/- it limits the number of items shown. (left click increments, right click decrements)

I believe that's all for this little program. see ya

Quieter UI is excellent. And I believe you assessment of the progress bar behavior is correct also.


When clicking a bit on the +1/-1 semi-button, it changes to some count (up and down with left/right mouseclicks), that has no relation to the number of app-titles shown, don't know what that's supposed to mean? The +1/-1 didn't return, but I could it to go to "15 items shown" (and more if I wanted to), though there are only 4 items actually showing
The +1/-1 is a max item count, and is therefore only relevant if you've reached it. Not incredibly intuitive at first blush, but should be handy once learned.
Logged
Perry Mowbray
N.A.N.Y. Organizer
Charter Member
***
Posts: 1,795



Thoughtful Scribbles

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #21 on: February 01, 2011, 04:23:21 AM »

Ya know this would be kinda cool if you could have a live link to a forum sig code, where it updates your forum sig with what software your using most (not the page titles or anything).  Could be quite fun to see lol

You can pretty much do this with Wakoopa.

Actually you're probably better going to their social section: http://social.wakoopa.com/

 Check out Perry's sig.
Here:
« Last Edit: February 01, 2011, 04:25:56 AM by Perry Mowbray » Logged

kobi7
Member
**
Posts: 19

View Profile Give some DonationCredits to this forum member
« Reply #22 on: February 13, 2011, 02:07:30 AM »

Hey all,
I had a memory leak in the program.
It's fixed now.
here's a new version.
the source is included.

This version has stoik tracks, because it looks better and works for all platforms.
if you still want the windows progress bars, you can change a little boolean flag in the source code.
       it's in Program.cs :  public static bool stoik = true;
       change it to false.

See you,
Kobi

* GetSerious0331.zip (45.56 KB - downloaded 77 times.)
Logged
kobi7
Member
**
Posts: 19

View Profile Give some DonationCredits to this forum member
« Reply #23 on: February 13, 2011, 02:10:42 AM »

the source code.

* GetSerious0331_source.7z (149.94 KB - downloaded 74 times.)
* GetSerious0331.zip (45.56 KB - downloaded 87 times.)
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.054s | Server load: 0.02 ]