TitleClock V2 by Anders Hammarquist This is FREEWARE, You may copy this program freely as long as you don't make a profit by doing so. A nominal copying charge is premissible. TitleClock is a little commodity (about 3k) that throws up a clock in the top right corner of a screens titlebar. It may be set up to display itself on one or more screens, it may be set to follow you default public screen and also to always display on the frontmost screen. There have been quite a few changes since the previous release. It will now display clocks on multiple screens, and also on non-public screens. This has resulted in new options, and some changes in the way that the program operates. Beware also that the stack requirement has increased (due to the use of dos.library's pattern matching functions). TitleClock accepts the following arguments, entered on the command line from the CLI and in the ToolType field of the icon if run from the Workbench. UPDATE= Number of seconds between clock updates. It's not recommended that you make this value 0. Although you can, it will load the CPU enormously, as TitleClock won't be waiting. Also, you probably don't want to make the value too large, as the clock gets erased every time Intuition changes the screen title. Though if you have a program that doesn't change the screen's title, it would be no problem to put up a TitleClock on it with UPDATE set to 60 seconds. Default is 1 second. Please note that it believes wierd values, if you set update to -1, it will update every 4 294 967 295 seconds SHOWDATE If present, TitleClock will show todays date in addition to the current time. SHOWDAY If present, TitleClock will show the day in addition to the current time. SHORTDAY If present, the day name will be truncated to the three first characters. SHOWSECS If present, TitleClock will display seconds as well as hours and minutes. FORMAT= Sets the format of the date display. It can be one of the following: DOS - displays as dd-mmm-yy International - displays as yy-mmm-dd American - displays as mm-dd-yy Canadian - displays as dd-mm-yy Default is DOS. PUBSCREEN= Tells TitleClock which public screen to appear on. This may be a standard AmigaDOS pattern, in which case the clock will appear on all public screens whose name matches this pattern. The match is case sensitive. Please note that specifying a pattern if you have a lot of public screens will affect system performance. SCREENPAT= This tells TitleClock which NON-public screens to appear on. It is a standard AmigaDOS pattern, compared to the default title of all system screens. The match is case sensitive. Note that the default title of a screen may not be the same as that which is displayed. For example, the default title for the Workbench screen is 'Workbench Screen'. Also note that specifying this option when you have a lot of screens will affect system performance. FRONTSCREEN If this option is specified, TitleClock will display a clock on the frontmost screen. DEFSCREEN If this option is specified, TitleClock will display a clock on the default public screen. CX_PRIORITY= Sets the priority of TitleClock's commodity broker. Default is 0. If you do not specify any of the PUBSCREEN, SCREENPAT, FRONTSCREEN, or DEFSCREEN options you will not get a clock. Also, the clock will not be displayed on any screen whose title is hidden, such as on a lot of terminal programs. Beware that Commodore's screenblanker included with 3.0 does NOT hide the title, so you will get a clock on it if you match it's title or specify FRONTSCREEN. If you put TitleClock in your WBStartup drawer, Workbench likes to see a DONOTWAIT ToolType. That should be it. Questions, comments, bug reports, et.c. to: Internet: f92anha@dd.chalmers.se -or- Anders_Hammarquist@p16.f123.n203.z2.fidonet.cd.chalmers.se FidoNet: Anders Hammarquist of 2:203/123.16 Spare harddrives, memory, those Ethernet cards you aren't using, anything else you feel like donating (and any paper mail) to: Anders Hammarquist Schottisvägen 17 S-424 38 Angered Sweden