Welcome Guest.   Make a donation to an author on the site October 20, 2014, 04:15:56 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.
 
The N.A.N.Y. Challenge 2012! Download dozens of custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: date and time in statusbar  (Read 6399 times)
cracksloth
Member
**
Posts: 72

View Profile Give some DonationCredits to this forum member
« on: August 21, 2008, 05:26:21 PM »

Especially now that FARR forces the presence of the statusbar, I would really like to be able to modify the option:
  "text to show on statusbar on launch"
with something more useful (specifically the time and the date).  are there currently any variable strings i can insert to accomplish this?  if not, would you consider adding these variables:

%a - Abbreviated weekday name
%A - Full weekday name
%b - Abbreviated month name
%B - Full month name
%d - Day of month as decimal number (01 - 31)
%H - Hour in 24-hour format (00 - 23)
%I - Hour in 12-hour format (01 - 12)
%m - Month as decimal number (01 - 12)
%M - Minute as decimal number (00 - 59)
%p - Current locale's A.M./P.M. indicator for 12-hour clock
%S - Second as decimal number (00 - 59)
%y - Year without century, as decimal number (00 - 99)
%Y - Year with century, as decimal number
%C - center text in the statusbar
%% - Percent sign

for example, if i wanted the statusbar to read:
Wednesday, August 21 - 3:11 pm
and have it centered in the statusbar, i would insert:
%A, %B %d - %I:%M %p%C

other useful variables could eventually be added later by users request (like uptime, cpu load, memory usage, etc.)

thanks for the continued work on FARR! it's working great!

-cracksloth
Logged
mouser
First Author
Administrator
*****
Posts: 33,571



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: August 21, 2008, 05:56:26 PM »

i kind of like this idea.. perhaps a good solution would be to let plugins control the statusbar and titlebar text.
Logged
cracksloth
Member
**
Posts: 72

View Profile Give some DonationCredits to this forum member
« Reply #2 on: August 21, 2008, 06:39:12 PM »

hmmm...  if you are looking at making statusbar plugins, maybe you should approach it like a widget system.  for example, you can embed a centered date/time widget in the statusbar.  and/or add a cpu widget.  and/or add a memory widget.  etc.  this would keep the interface for customizing the statusbar consistent and easy to extend (each widget would have its own settings dialog).

-cracksloth
« Last Edit: August 21, 2008, 06:41:03 PM by cracksloth » Logged
cracksloth
Member
**
Posts: 72

View Profile Give some DonationCredits to this forum member
« Reply #3 on: August 22, 2008, 04:48:08 PM »

the more i think about this idea, the more i like it.  here is one more thought:

currently, the default statusbar content ("text to show on statusbar on launch") will be replaced by:
1) typing (eg. "found x results in y seconds")
2) selecting a new item from the list (eg. "C:\WINDOWS\explorer.exe")
3) stopping a search (eg. "search stopped after finding x results in y seconds")
4) etc.

it would be great to have an option to disable these updates so that the default statusbar content would persist even if one of these events is triggered.
« Last Edit: August 22, 2008, 04:51:31 PM by cracksloth » Logged
alias
Supporting Member
**
Posts: 71


View Profile Give some DonationCredits to this forum member
« Reply #4 on: September 10, 2009, 12:08:49 PM »

i kind of like this idea.. perhaps a good solution would be to let plugins control the statusbar and titlebar text.

Did anything ever come of this?  The one thing I miss about SlickRun was that I could make it show the time and date when it got focus, so no need to waste any screen real estate to show it all the time...  I'd actually prefer to see it in the Title Bar, myself...
Logged
mouser
First Author
Administrator
*****
Posts: 33,571



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #5 on: September 10, 2009, 12:10:48 PM »

that would be really easy for me to add.. why dont i go ahead and add an option to show date+time in status bar on display.
Logged
alias
Supporting Member
**
Posts: 71


View Profile Give some DonationCredits to this forum member
« Reply #6 on: September 10, 2009, 12:43:04 PM »

that would be really easy for me to add.. why dont i go ahead and add an option to show date+time in status bar on display.

Now you're making me feel guilty about sending in more money. cheesy
Logged
mouser
First Author
Administrator
*****
Posts: 33,571



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #7 on: November 20, 2009, 10:57:10 AM »

Added to titlebar options (look in advanced visual options tab) as of v2.80.01
Logged
mouser
First Author
Administrator
*****
Posts: 33,571



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #8 on: November 20, 2009, 11:05:24 AM »

wanted to say thanks for requesting this feature -- it's one of my favorite new features  thumbs up
Logged
lanux128
Global Moderator
*****
Posts: 6,108



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #9 on: November 20, 2009, 10:59:51 PM »

yes, i like the way it can be customized with additional tokens. thumbs up
Logged

alias
Supporting Member
**
Posts: 71


View Profile Give some DonationCredits to this forum member
« Reply #10 on: November 21, 2009, 07:41:16 AM »

Yep - this is awesome!  Thanks, mouser!!!
Logged
i9uq9p702
Participant
*
Posts: 8

View Profile Give some DonationCredits to this forum member
« Reply #11 on: January 07, 2010, 03:13:12 AM »

Some of the flags are not working for me as I would expect :

FlagExpectedActual
%c07/01/10 nn:nn:nn01/07/10 nn:nn:nn
%e700
%SUpdate while FARR is on screenDoesn't update
%x07/01/1001/07/10
%X Update while FARR is on screen Doesn't update
%z,%ZDon't know<blank>

FARR 2.80.02
My locale is United Kingdom (dd/mm/yy).

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.035s | Server load: 0.06 ]