PHSM-Calendar - Interactive calendar with week numbers and Flash clock.

Installation under Windows 7 (Vista):

1. Unpack the file PHSM-Calendar952.zip
2. Go into either of the unpacked folders "Standalone" or "Internet".
3. Double-click the PHSM-Calendar.gadget file.
4. Ignore the warning about missing digital signature and click the "Install"
   button.
5. Place the Calendar where you want it on the desktop.

To get Help for the various controls in the calendar, click on the version
number in the upper left corner of the gadget or press F1.

Adobe Shockwave Flash Player has to be installed in order to see the Clock in
top of the calendar.

Under 64-bit Windows 7 the 64-bit version of Adobe Shockwave Flash Player has
to be installed.  If not, the 32-bit version of Windows Gadgets has to be
enabled.  To do that, first right-click on the Desktop and choose "View", then
disable "Show Desktop Gadgets". Now execute the program
"C:\Program Files (x86)\Windows Sidebar\sidebar.exe". Windows is now running
the 32-bit version of the Desktop Gadgets.  You might have to reinstall your
other Gadgets.  To revert to using 64-bit Desktop Gadgets simply disable
"Show Desktop Gadgets" and reenable it using the "View" option in the Desktops
right-click context menu.

------------------------

Installation under Windows 8 & 10:

Windows 8 & 10 no longer support gadgets.  To get gadget support, the missing
files which comes from the beta versions of Windows 8 can be installed.  These
files including an installation program can be downloaded from this address:
http://8gadgetpack.bplaced.net/ - or they can be downloaded from
http://gadget.madsenworld.dk/windows8/

1. Run the downloaded installation program 8GadgetPackSetup.msi
2. Follow the procedure for Windows 7 installation here above.

Version 6.0 or later of 8GadgetPackSetup.msi is necessary to see the Flash clocks.

To be able to see the Flash clocks in Internet Explorer when the clocks are
opened from the local harddisk (standalone version of PHSM-Calendar), this
might have to be enabled in the settings of Internet Explorer:

1. Press the Alt-key and choose "Tools" -> "Internet Options".
2. Click on the tab "Advanced" and activate the item "Security" -> "Allow
active content to run in files on My Computer".

------------------------

Installation under Windows XP:

1. Unpack the file PHSM-Calendar952.zip
2. Go into either of the unpacked folders "Standalone" or "Internet".
3. Rename PHSM-Calendar.gadget to PHSM-Calendar.zip
4. Open the PHSM-Calendar.zip file.
5. Unpack the folder "sounds" to a folder of your choice.
6. I you chose "Standalone", unpack the folder "clocks" to the same folder as
   "sounds".
7. Go into the folder "en-US" and unpack the files PHSM-Calendar.htm,
   PHSM-Settings.htm, PHSM-Settings2.htm, PHSM-Input.htm and PHSM-Dates.txt to
   the same folder as well.
8. Right-click on your Windows Desktop and click on "Properties".
9. Click on the "Desktop" tab and then on the "Costumize Desktop..." button.
10. Click the "Web" tab and then on the "New..." button.
11. In the new dialog, click the "Browse..." button.
12. Find the newly unpacked PHSM-Calendar.htm file and choose it.
13. Close all dialogs by clicking OK.
14. Right-click on your Windows Desktop and choose "Arrange Icons By".
15. Make sure that "Lock Web items on Desktop" is disabled.
16. Resize and position the PHSM-Calendar to your liking.
17. Now enable the "Lock Web items on Desktop" under "Arrange Icons By".

To get Help for the various controls in the calendar, click on the version
number in the upper left corner of the gadget or press F1.

Adobe Flash Player has to be installed in order to see the Clock in top of the
Gadget.

------------------------

User defined marking of dates:

In Gadget mode:

1. Double-click on a date in the calendar to Change / Delete / Add Events.
2. Backup of the data file is not necessary when updating the Gadget after
   version 8.0.


In Browser mode (without ActiveX):

1. Open the file PHSM-Dates.txt in a text editor - for example Notepad.
   Under Windows 7 you will find the file in this folder:
   C:\Users\USERNAME\AppData\Local\Microsoft\Windows Sidebar\Gadgets\PHSM-Calendar.gadget\en-US
2. Ctrl+click on any date in the calendar will open the folder (not all
   browsers).
3. Edit the file according to the instructions inside the file.
4. Ctrl+Alt+click on any date in the calendar to reload PHSM-Calendar - now
   the stated dates will be marked in the calendar with a user defined frame
   around the date, and the stated text will be shown, when the cursor hovers
   the date.
5. By default a notification of the events for the next 5 days will be
   shown once a day when the time passes midnight - or the first time the
   computer is started on a new day.&nbsp; This can be modified or disabled
   in Options II.
6. Shift+click on any date in the calendar to show all events for this date
   and the next 4 days.
7. Alt+click on any date in the calendar to show the notifications for this
   date and the next 4 days.
8. NOTE - before future updates there must be made a backup of PHSM-Dates.txt.


It is now possible to Change / Delete / Add Events via the dialog when run in
Browser mode in Internet Explorer or as Active Desktop element under
Windows XP.  You have to press OK in an alert dialog box to allow the browser
to use ActiveX at startup though.  This can be disabled in the "Options II"
dialog.  This is always disabled when run from an Internet server, because you
cannot edit files there via ActiveX.


You can use HTML-codes in the Message text for Notifications and Events.
If you for example want underlined or italicized text you can use:

    <u>Here is underlined text</u> and <i>here is italics text</i>

Or if you for example want a link in the text you can use:

   <a href="http://madsenworld.dk" style="color: cyan">madsenworld.dk</a>

to have a link to http://madsenworld.dk shown in cyan in the Event list.


If PHSM-Dates.txt is edited manually, then all occurences of: " MUST be changed
to: \" in the Message text - for example:

   <a href=\"http://madsenworld.dk\" style=\"color: cyan\">madsenworld.dk</a>

This is done automatically if the Message text is entered via the dialog box
"Change / Delete / Add Events".
------------------------
  
The background color of the PHSM-Calendar is by default set to "Black".
The colors of the calendar are best suited for dark backgrounds.
