THE WELCH COMPANY
440 Davis Court #1602
San Francisco, CA 94111-2496
415 781 5700


S U M M A R Y


DIARY: July 29, 1999 10:53 AM Thursday; Rod Welch

HTML conversion, transfer to web, maintenance using menus and clicking.

1...Summary/Objective
2...HTML Menu, Editor, SDS, Empty HTML Directory
3...000001 Mouse Execute HTML Conversion Call Macro 1420, File 0122
4...070405 Convert SDS Records to HTML Immediately
5...0122 Convert Editor Files to HTML Immediately
6...000001 Mouse Opens, Empties HTML Transfer Directory
7...0608 Call sw1.bat to list HTML files for transfer to Web
8...Maintain Transfer Directory Delete Transferred Files
9...Delete Files Transferred to the Server on the Internet
10...000008 Identify When HTML Transfer Files Created
11...01220 Set Color Annotate Field When HTML Transfer Files Created
12...000007 Modify E Function to Color Annotate Field
13...000008 Cut File Color Changed Black with White Letters
14...000001 Open Diary in Schedule Click on "Schedule" in Annotate


..............
Click here to comment!

CONTACTS 

SUBJECTS
HTML Menu, 04707
Functions, entering HTML
Menu Assignments
Directory Local Data Base
List Files Web Site Temp Directory
Empty Temp HTML Directory
Convert SDS and Docs to HTML, 070405, 0122

1309 -    ..
1310 - Summary/Objective
1311 -
131101 - Follow up ref SDS 8 0000, ref SDS 6 0000.
131102 -
131103 - Created feature to click for immediately converting Editor or SDS
131104 - records to HTML and post to local web directories on e:, and to the
131105 - temporary transfer directories on h. Can also list or empty transfer
131106 - directories.  Can still use the menus, but this new method saves a lot
131107 - of steps.
131108 -
131109 -     [On 000810 removed F1 F2 and full screen menu op from 0122.
131110 -     ref SDS 11 DGAD
131111 -
131112 - This modifies instructions in Help reported on 980720. ref SDS 4 2337
131113 -
131114 -    1.  Click above Quit=ESC to create HTML file for transfer to web.
131115 -        ref SDS 0 0855
131116 -
131117 -    2.  Click above Schedule to right of Quit=ESC  to see a list of
131118 -        files pending transfer to the web. ref SDS 0 2548
131119 -        ..
131120 -    3.  Click above Diary to right of Schedule/ to empty
131121 -        temporary transfer directory. ref SDS 0 3465
131122 -
131123 -        If some of the files were transferred, and others were not,
131124 -        then the files that were transferred are deleted from the
131125 -        temporary directory, and a list is displayed of files pending
131126 -        transfer.
131127 -
131128 -        This can occur if there is an interruption in FTP operations
131129 -        due a poor transmission line, or difficulty with the server.
131130 -
131131 - Created color black with bright green letters in annotate field to
131132 - show transfer directory is not empty. ref SDS 0 3526
131133 -
131134 -
131135 -
131136 -
131137 -  ..
1312 -
1313 - Progress
1314 -
131401 -  ..
131402 - HTML Menu, Editor, SDS, Empty HTML Directory
131403 -
131404 - Follow up ref SDS 8 6523, ref SDS 3 5459.
131405 -
131406 - Want a direct, simple way to empty the directories on the h drive for
131407 - transferring HTML files to the web...
131408 -
131409 - The process that does this now is...
131410 -
131411 -
131412 -                           01 04 005040
131413 -
131414 -
131415 - ...which is called by macro file...
131416 -
131417 -
131418 -                           01 04 0504170
131419 -
131420 -
131421 - ...from within the menu for File Listing...
131422 -
131423 -
131424 -                           01 04 0504110
131425 -
131426 -
131427 - ...which is created by operation...
131428 -
131429 -
131430 -                           01 04 06080 #3
131431 -
131432 -
131433 - ...called from the File menu in the Editor menu...
131434 -
131435 -
131436 -                           01 04 0504040
131437 -
131438 -
131439 - ...and by the SDS menu...
131440 -
131441 -
131442 -                           01 04 0504050
131443 -
131444 -
131445 - ..
131446 - So, we have to do quite a few steps to accomplish our objective
131447 - to empty the HTML directory.
131448 -
131449 - I will make the annotate field accomplish this as follows...
131450 -
131451 -   1.  We need to know when the HTML file transfer directory has stuff
131452 -       in it. Normally it should be empty.
131453 -
131454 -   2.  If it is not empty, do files need to be uploaded to the web,
131455 -       which is evident by the presence of the wst_log files that show
131456 -       which files have been uploaded.
131457 -
131458 -   3.  If files have already been uploaded, we need to empty the
131459 -       trasnfer directory.
131460 -
131461 - We can do this with a new color code for the annotate field, and by
131462 - clicking the mouse on the command line above the annotate field,
131463 - split into two areas, one for opening the transfer directory, or
131464 - reporting it is empty, and another for emptying the field.
131465 - ..
131466 - Currently, for SDS and the Editor the annotate field is black
131467 - with yellow letters.
131468 -
131469 - If the HTML transfer directory is not empty, we can color it.
131470 -
131471 -     Right now, it changes to red, when we scroll to another profile
131472 -     level, so we know
131473 -
131474 -     Cut and paste uses light blue with black letters for the annotate
131475 -     field, but the entire screen changes to black with purple
131476 -     letters, as another notice that cut and paste mode is underway.
131477 -
131478 -      ..
131479 -     Suppose we use black with bright green letters to signify that
131480 -     records have been placed in the transfer directory.  That is
131481 -     accomplished with command...
131482 -
131483 -
131484 -                         setcolor 4 10
131485 -
131486 -  ..
131487 - 000001  Mouse Execute HTML Conversion Call Macro 1420, File 0122
131488 - 070405  Convert SDS Records to HTML Immediately
131489 - 0122    Convert Editor Files to HTML Immediately
131490 -
131491 - Follow up ref SDS 9 0889.
131492 -
131493 - Line 1210, ref OF 7 SMMP, -entry 235 in 000001, if cursor is clicked
131494 - above Quit=ESC between col 50 - 60, will convert to HTML for Editor
131495 - and SDS records.
131496 -
131497 - Code calls 0122 for editor files, and calls macro 1420 for SDS
131498 - records.
131499 -
131500 - Line 140, ref OF 2 3556, -label 2pass, about 70 lines below, added
131501 - switch to avoid temporary screen that is needed for F1 F2 in case we
131502 - get confused and think we are in SDS records which uses F1 F2 for an
131503 - alternate save feature.
131504 -
131505 -
131506 -  ..
131507 - 000001  Mouse Opens, Empties HTML Transfer Directory
131508 -
131509 - Line 340, ref OF 7 4473, -entry 230 begins mouse code.
131510 -
131511 - Line 1230, ref OF 7 9660, -label lchTml in 00001 calls 0608 #3 to
131512 - maintian transfer directory.  This will delete all transferred files,
131513 - and leave any that have not been transferred, and also remove the log
131514 - file that indicates a transfer has occurred.
131515 -
131516 -
131517 -     [On 000811 moved transfer dir to c: sd wt. ref SDS 11 7842
131518 -
131519 -
131520 -  ..
131521 - 0608  Call sw1.bat to list HTML files for transfer to Web
131522 -
131523 - Line 30, ref OF 5 2346 in 0608, calls sw1.bat to create a list of
131524 - files, if any, to be transferred to the web.
131525 -
131526 - Line 20, ref OF 12 4001 in sw1.bat added del 1y* to remove prior
131527 - temporary file lists from prior pass.
131528 -
131529 - Line 240, ref OF 5 0800, -label sWeb1 in 0608, added code to set
131530 - global 299 5138 if file list is not empty, and it sets global 299 0,
131531 - if it is empty.
131532 -
131533 - It then calls macro 1223 to set the color of the annotate field.
131534 -
131535 - Line 340, ref OF 5 5589, -label lpfps find the first line where a
131536 - file is listed, if any, and put cursor on filename column.
131537 -
131538 -  ..
131539 - If we click to the left of col 68, the operation will ony list the
131540 - files in all of the transfer directories.  In that case, the 0608
131541 - operation ends.
131542 -
131543 -
131544 -
1316 -

SUBJECTS
Maintain Transfer Directory SD WT Delete Files Transferred to the Web
Internet Integration
Internet Maintain Transfer Directory from Local Disk to Server by Del

160501 -  ..
160502 - Maintain Transfer Directory Delete Transferred Files
160503 - Delete Files Transferred to the Server on the Internet
160504 -
160505 - Line 370, ref OF 5 3404, -label lchTml in 0608, about 40 lines below,
160506 - this code is called by clicking to the right of col 67 to list
160507 - transfer files and examine any files found to see if all have have
160508 - been transferred, per mouse code above. ref SDS 0 2548  If not, it
160509 - will empty the transfer directories on h, which look generally like
160510 - this....
160511 -
160512 -       20 files found containing 320696 bytes
160513 -   c:\sd\wt\SD\08\00101\02\02\10\02\215747.HTM      A   39736  102-10-22  13:35
160514 -   c:\sd\wt\SD\08\00101\02\02\10\02\WS_FTP.LOG      A     133  102-10-22  15:12
160515 -   c:\sd\wt\SD\08\00101\02\02\10\07\072304.HTM      A   22391  102-10-22  13:26
160516 -   c:\sd\wt\SD\08\00101\02\02\10\07\101137.HTM      A   22391  102-10-22  13:26
160517 -   c:\sd\wt\SD\08\00101\02\02\10\07\181152.HTM      A   22391  102-10-22  13:26
160518 -   c:\sd\wt\SD\08\00101\02\02\10\07\182255.HTM      A   22391  102-10-22  13:26
160519 -   c:\sd\wt\SD\08\00101\02\02\10\07\WS_FTP.LOG      A     133  102-10-22  15:13
160520 -   c:\sd\wt\SD\08\00101\02\02\10\08\091804.HTM      A   18601  102-10-22  13:31
160521 -   c:\sd\wt\SD\08\00101\02\02\10\08\WS_FTP.LOG      A     133  102-10-22  15:13
160522 -
160523 -  ..
160524 - This listing shows each directory where a file is transferred to the
160525 - server on the Internet has a log file written by the server to the
160526 - local computer establishing that a transfer of the contents for the
160527 - directory occurred.
160528 -
160529 -  ..
160530 - The code is 0608 for...
160531 -
160532 -    z 30 70
160533 -    l /WS_FTP.LOG/
160534 -    macro 7
160535 -
160536 -        ..
160537 -       Zone and look for ws_ftp.log.  If files were transferred, then
160538 -       there is one log file for each directory where files were
160539 -       transferred.  This means the entire directory can be deleted, to
160540 -       remove the files including the ws_ftp.log file.  If this results
160541 -       in deleting all of the files in the list, then the entire sd wt
160542 -       directory is removed.
160543 -
160544 -        ..
160545 -       Might be able to accomplish this task without using the
160546 -       ws_ftp.log as the specific key, by looking at the extension of
160547 -       every line, and where the extension if not .HTM, assume it is a
160548 -       log file, and so establishes transfer has occurred.
160549 -
160550 -     [On 000810 improved code for this system. ref SDS 11 RK4O
160551 -
160552 -     [On 010808 decided to call this operation to maintain the transfer
160553 -     directory automatically when a file is converted for transfer and
160554 -     placed in the transfer directory. ref SDS 12 OR5G
160555 - ..
160556 - Line 380, ref OF 5 4004, -label emPtit if all of the files have
160557 - not been transferred, code deletes files that have been transferred,
160558 - and displays the remaining files that need to be transferrred.
160559 - ..
160560 - This supplements work on 990613 to manage HTML transfer
160561 - directories. ref SDS 10 0600
160562 - ..
160563 - Line 410, ref OF 5 6278, -label lpdwn if only some of the files
160564 - have been transferred and not all, then we have a mess.  The transfer
160565 - probably crashed because Mr. Internet had a great fall, or possibly
160566 - the User stopped the operation for some reason.
160567 - ..
160568 - This code starts at the bottom of the list and looks for a
160569 - ws_ftp.log entry, which signifies a directory that has been
160570 - transferred.
160571 -
160572 - Line 430, ref OF 5 3402, -label rmDaF use zonereps to find each line
160573 - above ws_ftp.log that is the same dir.
160574 -
160575 - Line 440, ref OF 5 4047, -label lpdeL create a batch file to call the
160576 - DD command to remove all directories and files that have been
160577 - transferred.
160578 -
160579 - Line 430, ref OF 5 2544, -label nxGrp about 30 lines below call batch
160580 - file sw2.bat to remove all directories, because all of the files have
160581 - been transferred to the web.
160582 -
160583 -
160584 -
160585 -  ..
160586 - 000008  Identify When HTML Transfer Files Created
160587 - 01220  Set Color Annotate Field When HTML Transfer Files Created
160588 -
160589 - Line 2210, ref OF 10 8148, -entry 1420 in 000008 added code to set
160590 - global 299 5138 and change color of annotate 4 10, after calling
160591 - 070405 to convert an SDS record to HTML.
160592 -
160593 - Line 2140, ref OF 2 4332, -label e123 in 0122, added code to set
160594 - global 299 5138 and setcolor 4 10 for annotate field.
160595 -
160596 -
160597 -
160598 -
160599 -
1606 -

SUBJECTS
SDS Records Archived
SDS Records Current
Planning
Editor

2007 -
200701 -  ..
200702 - 000007  Modify E Function to Color Annotate Field
200703 -
200704 - Follow up ref SDS 2 3414.
200705 -
200706 - Line 3080, ref OF 9 1665, -entry 1223 in 000007, add code to change
200707 - color of annotate field based on global 299.
200708 -
200709 - This is applied in 000008 calling 070405 and in 0122, per the record
200710 - above. ref SDS 0 2585
200711 -
200712 -
200713 -  ..
200714 - 000008  Cut File Color Changed Black with White Letters
200715 -
200716 - I have gotten tired of looking a a black screen with purple letters.
200717 - It has always looke weird and weary.
200718 -
200719 - Line 500, ref OF 10 1840, -entry 154 changed color of cut and paste
200720 - profile so body text has black background with bright white letters.
200721 -
200722 -
200723 -
200724 -
200725 -
2008 -

SUBJECTS
Diary Summary, F3
Diary, 022F03
Mouse for User interface

2306 -
230601 -  ..
230602 - 000001  Open Diary in Schedule Click on "Schedule" in Annotate
230603 -
230604 - Line 1140, ref OF 7 0924, -label SchDi4 changed code so we can open
230605 - the Diary in the Schedule by clicking anywhere on Schedule in the
230606 - annotate field.
230607 -
230608 - We have this ability in SDS records because annotate says...
230609 -
230610 -
230611 -                      Schedule/Diary
230612 -
230613 -
230614 - ...this provided a visual switch to users about where to click on the
230615 - screen to open either the Schedule or the Diary.  It is a little
230616 - redundant, because simply using Ctrl F6 or clicking on the CMD field
230617 - at the top of the screen, scrolls to the Schedule.
230618 - ..
230619 - The Schedule only shows "Schedule" in the annotate field, so
230620 - there is no overt visual alert that clicking on the field opens the
230621 - Diary, in fact it seems visually to not permit this.
230622 -
230623 - However, it is convenient to have a place on the screen that
230624 - immediately opens the Diary from the Schedule, without having to use
230625 - F3 or open the menu and click on Diary.
230626 -
230627 -
230628 -
230629 -
230630 -
230631 -
230632 -
2307 -