PH WORLD CLOCK ver 2.0 by William Wong, May 1994 ProbeHouse Software "Another brilliant piece of utility from PHSW" - Drovak. "Calling my worldwide Embassies will be easier with this PHSW clock with alarm feature" - Clinton Introduction ------------ The PH World Clock is a ST program that will display both the local time and the time of the place of your selection. Over 50 world major cities are programmed into the world clock. The day and date of the local time is display along with the day of the international time. It have a builtin alarm and hourly chime. The alarm will popup a window which contain your own message or reminder. There are 8 alarms sounds available for selection. Program or Desktop accessory ---------------------------- PH World Clock is both a GEM program and a Desktop Accessory. To use as a GEM program, rename extension to .PRG To use as a Desktop Accessory, rename extension to .ACC The Display ----------- The World Clock is displayed in a window. You can move the window around the desktop with the mouse. The local time is display on the top line and the city of choice time is displayed on the bottom line. The CLOSER button of the window will close the World Clock. If you are running World Clock as an desk accessory, the alarm set is still active when the World Clock window is close. This feature allows uncluttered screen when working on any GEM program with the alarm activated. The FULLER button of the window will bring up the CONFIGURATION window. The CONFIGURATION window allows the alarm time, alarm message, alarm on & off, chime on & off and the alarm sound to be set. Commands -------- When World Clock is topped (ie the top most window) the following keyboard keys are active : Left/Right cursor - Scroll city time. Up/Down corsor - Scroll local city time. A to Z - Change to city beginning with alphabet. ALT- A to Z - Change to local city beginning with alphabet. CTRL-Q - Quit World Clock. CTRL-C - Open CONFIGURATION window. CTRL-I - PHSW Program name & my address INFORMATION window. CTRL-U - Close windows (except main window use CTRL-Q) CTRL-W - Scroll between CONFIGURATION & INFORMATION window. The CONFIGURATION window ------------------------ The CONFIGURATION window allows the alarm time, alarm message, alarm on & off, chime on & off and the alarm sound to be set. ALARM : type in the time in 24 hours format. MSG : type in your message. This message will appear in a window when the alarm goes off. Limit to 30 characters only. ON/OFF: activate/deactivate the alarm. Click on the ON or OFF to change the settings. CHIME : activate / deactivate the chime. Click on the ON or OFF to change the settings. SOUND : Select the sound for alarm and chime. Click on the sound name to change the settings. INFO : display PHSW signon and how to contact me. CANCEL: Cancel the configuration (means no saving done) OK : Save the configuration to PHWCLK.CFG. Preference ---------- The preference of World Clock saved are the local, internation city, the alarm and chime setting. This is saved in a file called PHWCLK.CFG in the \PHSTUFF folder. This folder is automatically created by closing the CONFIGURATION window or quitting the World Clock program. Notice that when using as a desk accessory the program nevers quit and so the configuration is only saved when the OK button is pressed. Please make sure that your current drive is your bootup drive when saving. If no preference file is found, the local time defaults to Singapore and international time, the 1st city in the list. The alarm and chime OFF and the alarm message as "Alarm". List of cities in World Clock ----------------------------- If your city is not listed, let me know the city name, time away from Greenwich Mean Time (GMT) and sent it to address in next section. Amsterdam, Ankara, Auckland, Baghdad, Bahrain, Bangkok, Barbados, Barcelona, Beirut, Berlin, Bermuda, Bombay, Brisbane, Buenos Aires, Cairo, Calcutta, Chicago, Darwin, Delhi, Dusseldorf (CEBit fame), Frankfurt, Geneva, Hong Kong, Honolulu, Johannesburg, Karachi, Kuala Lumpur, Kuwait, Lagos, London, Madrid, Mauritius, Montreal, Moscow, Nairobi, New York, Oslo, Paris, Peking, Perth, Rangoon, Rio De Janeiro, Rome, San Francisco, Singapore, Sydney, Teheran, Tel Aviv, Tokyo, Toronto, Vancouver, Vienna, Warsaw, Washington, Zurich, There is always another Bug --------------------------- or Oh, that's a feature of this program ------------------------------------ If you find any bugs in this program, please let me know. This program was written in Pure C on a colour, Tos 2.06, 4 Meg 520STFM with a Supra 44 meg Syquest HD system. PH World Clock was also tested on on Tos 1.02, Tos 1.04 and MiNT 1.04b as a DA. Version changes --------------- Version 2.0 - Date miscalculation on Sunday fixed. - Alarm with personal message added. - Chime added. - 8 sounds for chime and alarm. Version 1.0 - First public domain release. Next version (if I still have the time) will include capability for users to include their city and time from Greenwich so that their city can be displayed. Another Public domain software ------------------------------ Yes this is another one of PHSW Public domain software. So here it goes again ... If you like this software or use it more than 3 times, I expect you to show your appreciation by sending me a mail or some useful stuff like CDs, magazines (any type that a male would enjoy seeing), US dollars, NEW T-shirts, ST hardware or software, Syquest cartdriges (44 Meg please), cheque with your proper signature, US dollars, COE, Falcon 030, video tapes (as with the magazines), Hi-Fi set and dollar notes. Please sent all your goodies to - William Wong CC 5129, Blk 990, Bendemeer Road, Singapore 1233, Republic of Singapore. MCI mail : 4673356 Internet : wongck@lobby.ti.com BBS : Clavis BBS (065)-444-2376 [ this belongs to a friend of mine ] If you somehow would like to register this software, please pay in US traveller cheque of US$10, signed correctly for outside Singapore or in Singapore, S$15. Registered users will get the source code as well as the latest version (if any) send to them in a good condition diskette. Please include your postal address. Ciao, Have fun.