Poster | Thread |
Tpod
| |
OS3.2 - date & time on Workbench Title Bar β see Hyperion 3.2 Announcement! Posted on 3-May-2024 1:49:53
| | [ #1 ] |
|
|
|
Regular Member |
Joined: 16-Oct-2009 Posts: 162
From: UK | | |
|
| I've just noticed something on the Hyperion-Entertainment Website; the second image included as part of the original OS3.2 release announcement shows the date & time within the title bar! I didn't think this was possible on OS3.2.
Anyone know how you add this to the title bar (I only really want the time shown)? _________________ A1200+Mediator+Voodoo3+040+130mbRAM+0S3.9 A2000+Supra28mhz+9mbRAM+OS3.2.2, CD32 & WinUAE |
|
Status: Offline |
|
|
kolla
| |
Re: OS3.2 - date & time on Workbench Title Bar β see Hyperion 3.2 Announcement! Posted on 3-May-2024 7:14:47
| | [ #2 ] |
|
|
|
Elite Member |
Joined: 21-Aug-2003 Posts: 3133
From: Trondheim, Norway | | |
|
| @Tpod
OS 3.2 (or even 3.1.4) lets you add variables to the title bar, so all you need is s silly loop script that frequently dumps time to the variable. In short, yes it is possible.
But not really the most elegant solution. _________________ B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC |
|
Status: Offline |
|
|
Tpod
| |
Re: OS3.2 - date & time on Workbench Title Bar β see Hyperion 3.2 Announcement! Posted on 3-May-2024 19:30:02
| | [ #3 ] |
|
|
|
Regular Member |
Joined: 16-Oct-2009 Posts: 162
From: UK | | |
|
| Thanks for the explanation kolla but as a point-and-click guy there is no fear of me managing to come up with a functioning script!
Presumably the script would somehow use Clock (from Utilities draw) to send the time & be added to User-Startup or be placed in WBStartup draw? Also I guess something would be added to the Workbench Preferences, Workbench Screen Title Bar Text box?
It's a bit baffling for me to be honest, I don't even fully understand what's meant by 'variables'. Currently I have Clock in WBStartup; a System Request always pops up asking for you to close the Clock whenever changing Workbench screen modes... be much nicer to have it in the title bar.
_________________ A1200+Mediator+Voodoo3+040+130mbRAM+0S3.9 A2000+Supra28mhz+9mbRAM+OS3.2.2, CD32 & WinUAE |
|
Status: Offline |
|
|
Chris_Y
| |
Re: OS3.2 - date & time on Workbench Title Bar β see Hyperion 3.2 Announcement! Posted on 3-May-2024 19:35:13
| | [ #4 ] |
|
|
|
Elite Member |
Joined: 21-Jun-2003 Posts: 3205
From: Beds, UK | | |
|
| @Tpod
I write a little program for this exact purpose on OS4. Despite back porting it to 3.2 it doesn't work, and I'm at a loss why. It's here if anybody wants to look at it: https://github.com/chris-y/envClock
_________________ "Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion Avatar is Tabitha by Eric W Schwartz |
|
Status: Offline |
|
|
hotrod
| |
Re: OS3.2 - date & time on Workbench Title Bar - see Hyperion 3.2 Announcement! Posted on 4-May-2024 0:49:46
| | [ #5 ] |
|
|
|
Elite Member |
Joined: 11-Mar-2003 Posts: 3002
From: Stockholm, Sweden | | |
|
| |
Status: Offline |
|
|
Tpod
| |
Re: OS3.2 - date & time on Workbench Title Bar β see Hyperion 3.2 Announcement! Posted on 4-May-2024 18:45:40
| | [ #6 ] |
|
|
|
Regular Member |
Joined: 16-Oct-2009 Posts: 162
From: UK | | |
|
| @Chris_Y
Thanks for at least trying to get it working on 3.2. Hopefully someone will take up the challenge & fix the 3.2 compatibility problem; I would think it would get well used if anyone manages it. _________________ A1200+Mediator+Voodoo3+040+130mbRAM+0S3.9 A2000+Supra28mhz+9mbRAM+OS3.2.2, CD32 & WinUAE |
|
Status: Offline |
|
|
Tpod
| |
Re: OS3.2 - date & time on Workbench Title Bar - see Hyperion 3.2 Announcement! Posted on 4-May-2024 19:08:33
| | [ #7 ] |
|
|
|
Regular Member |
Joined: 16-Oct-2009 Posts: 162
From: UK | | |
|
| @hotrod
ScreenTime sounds interesting; do you have to close it whenever you change Workbench Screen Mode? It at least pretends to do what I'm after, the read me says
Quote:
ScreenTime will open a small borderless window on top of the screen bar, adopting the font and colors of the screen to make it look like it's part of it |
Seems like an improvement on just leaving the Clock out, but fingers crossed someone will get Chris_Y's envClock working._________________ A1200+Mediator+Voodoo3+040+130mbRAM+0S3.9 A2000+Supra28mhz+9mbRAM+OS3.2.2, CD32 & WinUAE |
|
Status: Offline |
|
|
kolla
| |
Re: OS3.2 - date & time on Workbench Title Bar - see Hyperion 3.2 Announcement! Posted on 4-May-2024 22:32:48
| | [ #8 ] |
|
|
|
Elite Member |
Joined: 21-Aug-2003 Posts: 3133
From: Trondheim, Norway | | |
|
| @Tpod
Beware that it will only show time when workbench window is active, and since it also uses a few seconds to update and you don't want to write to a var in file system every second, it should just show hour:minute. Another challenge is to align it to the right, AFAIK that's only doable by using a bunch of spaces... as I wrote, not very elegant.
Personally I prefer to have the clock there always, regardless of whether workbench window is active or not, and I do prefer to see seconds tick by. I also ue ScreenTime, which in addition provides a nice popup calendar. _________________ B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC |
|
Status: Offline |
|
|
thomas
| |
Re: OS3.2 - date & time on Workbench Title Bar β see Hyperion 3.2 Announcement! Posted on 5-May-2024 10:59:53
| | [ #9 ] |
|
|
|
Super Member |
Joined: 28-May-2003 Posts: 1148
From: Germany | | |
|
| @Chris_Y
Quote:
Despite back porting it to 3.2 it doesn't work, and I'm at a loss why. |
The FormatDate function requires a valid Locale pointer. It crashes if you call it with NULL.
_________________ Email: thomas-rapp@web.de Home: thomas-rapp.homepage.t-online.de |
|
Status: Offline |
|
|
kolla
| |
Re: OS3.2 - date & time on Workbench Title Bar β see Hyperion 3.2 Announcement! Posted on 5-May-2024 14:54:31
| | [ #10 ] |
|
|
|
Elite Member |
Joined: 21-Aug-2003 Posts: 3133
From: Trondheim, Norway | | |
|
| ARexx is also an option. I just wrote this, pulled out weekday, month, day og month, year, hour and minute as separate variables, so one can easily format them to ones own liking. Beware though, it only "speaks" English.
/* $VER: EnvClock 1.1 (05.05.2025) KolbjΓΈrn Barmen */
DO FOREVER WDAY = DATE(W) MONTH = DATE(M) DATE = DATE(N) MDAY = SUBWORD(DATE, 1, 1) YEAR = SUBWORD(DATE, 3, 1)
DAYMIN = TIME(M) HOUR = SUBSTR(100 + DAYMIN % 60, 2, 2) MINUTE = SUBSTR(100 + DAYMIN // 60, 2, 2)
EC_TIME = WDAY MDAY MONTH YEAR HOUR || ':' || MINUTE
ADDRESS COMMAND SETENV EC_VAR EC_TIME ADDRESS COMMAND WAIT 59 END
Then add "%e EC_VAR" in in the Workbench prefs.Last edited by kolla on 05-May-2024 at 02:55 PM.
_________________ B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC |
|
Status: Offline |
|
|
Tpod
| |
Re: OS3.2 - date & time on Workbench Title Bar β see Hyperion 3.2 Announcement! Posted on 10-May-2024 1:28:53
| | [ #11 ] |
|
|
|
Regular Member |
Joined: 16-Oct-2009 Posts: 162
From: UK | | |
|
| So although envClock seemed to fit the bill if it actually worked on 3.2 & ScreenTime sounded like a good alternative, I decided to do some dinging. I'm pretty certain I've discovered what software put the time & date in the OS3.2 Announcement image .
It's called DateVar, I discovered it looking through walkero (George Sokianos) AmigaOS 3.2-Next steps Youtube videos (see #3, 40mins into stream). There's no obvious way to configure DateVar but you can decided where to place it in the title bar & you can edit how other things are displayed in the bar.
My Workbench Screen Title Bar Text (in Workbench Preferences) now reads -
Quote:
%e DateVar OS %r %mceb chip mem %mfeb fast |
which results in the Title Bar displaying e.g.
Quote:
Friday 10-May-24 00:30 OS Release 3.2.2.1 821,272 chip mem 6,064,624 fast mem |
This is a nice layout IMHO, it took a bit of trial & error to get what I wanted in the bar to actually fit & look good but I got there in the end. If you have more RAM i.e. over 1MB chip or 10MB fast, it wouldn't fit in the bar. Personally if I needed to free up some space I would delete "%r" from the Title Bar Text box (in Workbench Preferences) removing the word "Release" & just enter 3.2.2.1 after OS manually (obviously remembering to change it if you do an OS update). DateVar works great I'd certainly recommend it. ------------------------------------------------------------------------------------------------- Just to add - if your using RTG your obviously not going to lack space, but if using PAL High Res. like me then my title bar text shown above may be of some use.
Last edited by Tpod on 10-May-2024 at 05:06 PM. Last edited by Tpod on 10-May-2024 at 05:04 PM. Last edited by Tpod on 10-May-2024 at 01:50 AM. Last edited by Tpod on 10-May-2024 at 01:46 AM. Last edited by Tpod on 10-May-2024 at 01:29 AM.
_________________ A1200+Mediator+Voodoo3+040+130mbRAM+0S3.9 A2000+Supra28mhz+9mbRAM+OS3.2.2, CD32 & WinUAE |
|
Status: Offline |
|
|
klx300r
| |
Re: OS3.2 - date & time on Workbench Title Bar β see Hyperion 3.2 Announcement! Posted on 10-May-2024 6:40:49
| | [ #12 ] |
|
|
|
Elite Member |
Joined: 4-Mar-2008 Posts: 3843
From: Toronto, Canada | | |
|
| I just keep DOpus minimized which shows me date & time at top of my screen
_________________ ____________________________ c64-2sids, A1000, A1200T-060@50(finally working!),A4000-CSMKIII ! My Master Miggies- Amiga 1000 & AmigaOne X1000 ! mancave-ramblings X1000 I BELIEVE |
|
Status: Offline |
|
|
kolla
| |
Re: OS3.2 - date & time on Workbench Title Bar β see Hyperion 3.2 Announcement! Posted on 11-May-2024 3:15:47
| | [ #13 ] |
|
|
|
Elite Member |
Joined: 21-Aug-2003 Posts: 3133
From: Trondheim, Norway | | |
|
| @Tpod
To remove "Release" just fix the variable ${Versions/Relase} for example by editing ENVARC:Versions/Release - or just make a new variable and use %e.
You can also shorten how free RAM is displayed by using f.ex. kilobyte, like "%mcek kB" and "%mfek kB" (beware, here are bugs - if you for example want to display "19.683kB" instead of "19.683 kB" there is no way of doing this as workbench treats "%mfekkB" same way as "%mfekB", or for that matter "%mfekkkkkkkkkkkkB") _________________ B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC |
|
Status: Offline |
|
|
Tpod
| |
Re: OS3.2 - date & time on Workbench Title Bar β see Hyperion 3.2 Announcement! Posted on 11-May-2024 11:45:36
| | [ #14 ] |
|
|
|
Regular Member |
Joined: 16-Oct-2009 Posts: 162
From: UK | | |
|
| @kolla
Good tip on how to remove the word βReleaseβ, I gave it a try & it's certainly a much better idea than using my bodge job method!
To be clear (for fellow script clueless folks) go to Prefs/Env-Archive/Versions/Release. Open TextEdit then drag & drop Release onto it, remove the word Release & then save; job done.
_________________ A1200+Mediator+Voodoo3+040+130mbRAM+0S3.9 A2000+Supra28mhz+9mbRAM+OS3.2.2, CD32 & WinUAE |
|
Status: Offline |
|
|
danwood
| |
Re: OS3.2 - date & time on Workbench Title Bar - see Hyperion 3.2 Announcement! Posted on 11-May-2024 20:21:06
| | [ #15 ] |
|
|
|
Super Member |
Joined: 30-Sep-2008 Posts: 1072
From: Unknown | | |
|
| |
Status: Offline |
|
|
kolla
| |
Re: OS3.2 - date & time on Workbench Title Bar - see Hyperion 3.2 Announcement! Posted on 12-May-2024 14:54:37
| | [ #16 ] |
|
|
|
Elite Member |
Joined: 21-Aug-2003 Posts: 3133
From: Trondheim, Norway | | |
|
| Hear hear about BarClock - I also use it.
I use ScreenTime on Workbench screen and BarClock on other screens. _________________ B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC |
|
Status: Offline |
|
|
Chris_Y
| |
Re: OS3.2 - date & time on Workbench Title Bar β see Hyperion 3.2 Announcement! Posted on 15-May-2024 13:54:29
| | [ #17 ] |
|
|
|
Elite Member |
Joined: 21-Jun-2003 Posts: 3205
From: Beds, UK | | |
|
| I've been busy so have only just got round to looking at this.
Quote:
thomas wrote:
The FormatDate function requires a valid Locale pointer. It crashes if you call it with NULL.
|
Thank you, that did it!
I've uploaded v1.2 to Aminet, or you can get it here: https://github.com/chris-y/envClock/releases/tag/v1.2
_________________ "Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion Avatar is Tabitha by Eric W Schwartz |
|
Status: Offline |
|
|
outlawal2
| |
Re: OS3.2 - date & time on Workbench Title Bar β see Hyperion 3.2 Announcement! Posted on 15-May-2024 15:54:34
| | [ #18 ] |
|
|
|
Regular Member |
Joined: 16-Apr-2010 Posts: 120
From: Unknown | | |
|
|
FINALLY! A Unicorn has arrived.
A thread on the internet with an entire page full of people assisting with a question with solid and dare I say even FRIENDLY responses!
Multiple opinions and ways to solve a particular problem and not even a HINT of hostility or conflict.
This thread is a shining example of how things SHOULD be.
|
|
Status: Offline |
|
|
kolla
| |
Re: OS3.2 - date & time on Workbench Title Bar β see Hyperion 3.2 Announcement! Posted on 15-May-2024 16:22:34
| | [ #19 ] |
|
|
|
Elite Member |
Joined: 21-Aug-2003 Posts: 3133
From: Trondheim, Norway | | |
|
| Oh yeah? _________________ B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC |
|
Status: Offline |
|
|
outlawal2
| |
Re: OS3.2 - date & time on Workbench Title Bar β see Hyperion 3.2 Announcement! Posted on 15-May-2024 16:42:48
| | [ #20 ] |
|
|
|
Regular Member |
Joined: 16-Apr-2010 Posts: 120
From: Unknown | | |
|
| |
Status: Offline |
|
|