RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Software information: Alarm

Status

Stable.

Last stable version: 2.77

Overview

An iconbar clock and alarm system for RISC OS.

User defined time and date display formats (accessed from ‘Choices…’ menu item) can contain any combination of the following codes.

Code Meaning
%se seconds
%mi minutes
%12 hours (12 hour format)
%24 hours (24 hour format)
%am or %pm am/pm
%we weekday (full)
%w3 weekday (3-character abbreviation)
%wn weekday (number)
%dy day of the month
%st st/nd/rd/th
%mo month (full)
%m3 month (3-character abbreviation)
%mn month (number)
%ce century
%yr year within century (2 digits)
%wk week of the year (Mon to Sun)
%dn day of the year
%tz timezone
%% ‘%’
~AH analogue hours display
~AM analogue minutes display
~AS analogue seconds display
~IN alternating :/. indicator previously used by HH:MM format

Numbers are displayed with leading zeros, which can be omitted by adding z immediately after the %. Plain text can also be included.

Installation Instructions

A suitable place for installation is ADFS::HardDisc4.$.Apps
You may want to run Alarm automatically whenever the machine is started using the Boot configure plug in.

If you drag the newly installed !Alarm to the “Add to Apps” section of the Boot configure plug in,
you can ensure that the new disc based version of Alarm is used rather than the old ROM one.

Known issues

There are no known issues with this component at present. If you find a problem, please add a ticket then edit this page to include a link to the ticket details.

How to update this page

This page was created by ROOL but it is intended that members of the community keep it up to date by adding their comments and notes.

Click here for more information on how to edit these pages.

History of the component

Release history for versions available on the ROOL web site:

Version Details
2.75 RO5 Version of Alarm
2.76 Major changes
  • Style guide issues:
    • Fixed window menus to open at x-64,y instead of x-64,y+32|
    • Pressing return in dialogue boxes causes the default button to be pressed
    • Changed ‘Setup…’ to ‘Choices…’ on iconbar menu.
    • Dialogue windows now have a Cancel button rather than a wimp close box.
  • Set Alarm window changes:
    • Window redesigned.
    • Old behaviour (which was broken in 2.75) of clicking on the “Repeating Alarm” icon expanding the window, has been reinstated.
    • Year, date, hour and minute icons are now directly editable.
    • New icons show the difference between the current time and the alarm you are setting.
  • Miscelaneous changes:
    • Fixed broken messages file, added a warning to hopefully stop it happening again.
    • When the ‘code’ file isn’t present, an error is generated; unfortunately this was translated via MsgTrans (the problem being the messages file hadn’t been opened yet). This has now been fixed.
    • Iconbar icon now uses desktop font, and has a fixed position on the iconbar.
    • The Alarm$Options settings are saved in <Choices$Write>.Boot.Predesk.Alarm, so the user defined format is preserved over resets.
    • Choosing “Set clock…” from the iconbar menu, will run the !TimeSetup configure plug-in if available.
    • You can now include system variables in the string. Alarm provides <Alarm$Free> which is the current free memory in the computer.

Extensions to the user defined format:

 ~AH Analogue hours display.
 ~AM Analogue minutes display.
 ~AS Analogue seconds display.
 ~IN Alternating ':'/'.' indicator previously used by HH:MM format.

  • Error changes:
    • Message_DataOpen is acknowledged straight away. Which prevents the situation of an error occuring, the OS running another copy of Alarm and then generating the same error again.
    • Errors 108D4 and 108D5 are ignored, as recommended on PRM3-64
    • Error windows now use the extensions provided by RO3.5

2.77 Minor changes

  • Added divider sprite to dialogue windows, this helps hide the different background tiling caused by nesting windows.
  • Set alarm window, icon 27 the ‘every x number’ was not big enough for three digits even though it can go up to 255. It has now been made bigger.
  • The Y size of the font is now only read on mode/font change, reading it on every display can cause the text to sometimes jump.
Revised on August 6, 2011 09:14:39 by Trevor Johnson (329)? (79.88.182.205)
Edit | Back in time (2 revisions) | See changes | History | Views: Print | Source | Linked from: Software information

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys