THE WELCH COMPANY
440 Davis Court #1602
San Francisco, CA 94111-2496
415 781 5700
rodwelch@pacbell.net


S U M M A R Y


DIARY: April 17, 2004 05:27 AM Saturday; Rod Welch

SDS new function check if current record on web.

1...Summary/Objective
2...Multipe Views Fast Easy to Support Situational Awareness
3...Proofread and Confidentiality Multiple Views SDS Records Other Files
4...Multiple Views SDS Records Other Files Proofread and Confidentiality
5...Confidentiality and Proofread Multiple Views SDS Records Other Files
6...Open SDS Record or Other File in Browser Local or Internet Server
7...SDS Record Open with Browser Local Server and Internet Server
....Context Files Opened with Browser to Particular Anchor
....Anchor Append to Filename in 00903.CMD
....HTML Files Use IE to Open with Grannular Addressability
....Set Command Configure Iexplorer or Generic


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

CONTACTS 

SUBJECTS
Filename Field Check for Web File Local Server and Internet Server t

0703 -
0703 -    ..
0704 - Summary/Objective
0705 -
070501 - Follow up ref SDS 3 0000, ref SDS 2 0000.
070502 -
070503 - Developed new function suggested by Gary that makes creating multiple
070504 - views fast and easy for both proofreading and verifying when a
070505 - document or an SDS record is, and is not, on the Internet,
070506 - strengthening confidentiality. ref SDS 0 TT5H  The new feature was
070507 - integrated with tools Gary suggested earlier that open files for other
070508 - programs from within SDS. ref SDS 0 S96N  Navigation using granular
070509 - addressability is supported to open files in the browser on the
070510 - Internet or on the local server to the same location in the
070511 - originating file. ref SDS 0 L38N and ref SDS 0 T16G
070512 -
070513 -           [On 040422 found these new tools very useful, fast and easy.
070514 -           ref SDS 5 0001
070516 -            ..
070517 -           [On 040424 Gary commended for ideas on improving SDS.
070518 -           ref SDS 6 0001
070520 -            ..
070521 -           [On 040705 Gary reported new problem; the new function 00903
070522 -           that applies cmd batch files to open files for other
070523 -           programs is not supported by w98. ref SDS 7 U693
070525 -            ..
070526 -           [On 040714 added support for new system of document file
070527 -           segments, so that this op to open the file visible on the
070528 -           screen in a browser either on the local server or on the
070529 -           Internet, will open the full document and not a file segment
070530 -           of the document. ref SDS 8 W17G
070531 -
070532 -
070533 -
070534 -
070536 -  ..
0706 -
0707 -
0708 - Evaluation
0709 -
070901 - Multipe Views Fast Easy to Support Situational Awareness
070902 -
070903 - This new system makes access to an SDS record either on the Internet
070904 - or on the local server fast and easy using following steps...
070905 -
070906 -    1.  Switch the view of an SDS record, or a document, visible on the
070907 -        computer screen, to see the same file on the Internet for
070908 -        verifying public access and that confidential information has
070909 -        been adequately suppressed. The code, also, processes a current
070910 -        date diary, by converting a Schedule record filename into an
070911 -        archived diary filename.  Processing occurs in less than a
070912 -        second, and is entirely transparent to the user, enabling the
070913 -        work to occur as a matter of mere volition based on situational
070914 -        awareness.
070916 -         ..
070917 -    2.  User controls where the file will be opened in the browser by
070918 -        positioning the cursor below an anchor in the originating file,
070919 -        before clicking.
070921 -         ..
070922 -    3.  The new method saves approximately 10 - 15 keystrokes formerly
070923 -        required to accomplish the same result, saving time and money
070924 -        for performing knowledge work, listed on 000824. ref SDS 1 3D9M
070926 -         ..
070927 -    4.  Internet - open current file by clicking on the filename
070928 -        between column 1 - 15, which is the line below CMD> and above
070929 -        the SDS record ID.
070930 -
070931 -           [On 040422 found these new tools very useful, fast and easy.
070932 -           ref SDS 5 0001
070934 -         ..
070935 -    5.  Local server - view current record in a web browser to proof
070936 -        read prior to transfer to the Internet.
070938 -         ..
070939 -        Click on the filename between column 15 - 30, which is the line
070940 -        below CMD> and above the SDS record ID.
070941 -
070942 -           [On 040714 added support for new system of document file
070943 -           segments, so that this op to open the file visible on the
070944 -           screen in a browser either on the local server or on the
070945 -           Internet, will open the full document and not a file segment
070946 -           of the document. ref SDS 8 W17G
070947 -
070948 -
070949 -
070950 -
070952 -  ..
0710 -
0711 -
0712 - Planning
0713 -
071301 - Proofread and Confidentiality Multiple Views SDS Records Other Files
071302 - Multiple Views SDS Records Other Files Proofread and Confidentiality
071303 - Confidentiality and Proofread Multiple Views SDS Records Other Files
071304 - Open SDS Record or Other File in Browser Local or Internet Server
071305 -
071306 - Gary's record on 040412 suggests a new function to open the file for a
071307 - document or an SDS record that is currently displayed on the computer
071308 - screen, and view the same file in a web browser on the Internet or on
071309 - the local server.  This feature provides an alternate view for proof
071310 - reading, and to test confidentiality by providing instant evidence
071311 - when a record is on the Internet. ref SDS 4 8Y9O
071313 -  ..
071314 - This should be easy to create with the gfname command.
071316 -  ..
071317 - On 031020 developed method using macro file 00903 to open files for
071318 - other programs from within SDS records. ref SDS 2 UN9M  The design was
071319 - improved on 031102 using .cmd to call internet explorer. ref SDS 3
071320 - 5G5L This design and the support macro 00903 can be used for the new
071321 - assignment today.
071323 -  ..
071324 - Gary also wants a change to Medit that shows when a record has been
071325 - changed, and then when it has been written to the disk. ref SDS 4 5E68
071326 -
071327 -     [On 040424 letter to Morris asking about this. ref SDS 6 0001
071328 -
071329 -
071330 -
071331 -
071332 -
071333 -
0714 -

SUBJECTS
Filename Field Check for Web File Local Server and Internet Server t
Programs Launch from Within SDS Based on File Extension to Microsoft

1004 -
100501 -  ..
100502 - SDS Record Open with Browser Local Server and Internet Server
100503 -
100504 -
100505 - Line 450, ref OF 4 W36F, -entry 230 in 000001 about 180 lines below
100506 -
100507 -
100509 -  ..
100510 - Line 1650, ref OF 4 N46G, -label ocfwb in 000001
100511 -
100512 -    -label ocfwb
100513 -    @c:\sd\03\00903 #2............................. ref SDS 0 6N3L
100514 -    -exit
100515 -
100516 -        Call 00903 to open the current file with a web browser either
100517 -        on the local server, or on the Internet.
100518 -
100519 -           [On 040705 Gary reported new problem; the new function 00903
100520 -           that applies cmd batch files to open files for other
100521 -           programs is not supported by w98. ref SDS 7 U693
100522 -
100523 -
100525 -  ..
100526 - Line 1100, ref OF 5 PJ9M, -entry 136 in 000008
100527 -
100528 -
100530 -  ..
100531 - Line 1280, ref OF 5 J35J, -label in5rnet in 000008
100532 -
100533 -    -label in5rnet
100534 -    c:\sd\03\00903
100535 -
100536 -        The code here calls macro file 00903
100537 -
100538 -
100540 -  ..
100541 - Line 90, ref OF 1 T54H, -label start in 00903
100542 -
100543 -    setgbl 241 0
100544 -
100545 -        The start label is for opening a general file listed in a
100546 -        record.  global 241 is a new flag created today for opening the
100547 -        current file to the nearest anchor.  Set the flag 240 0 off for
100548 -        this function, because the objective is to open the spec
100549 -        entered by the user.  Have to turn the op off to avoid the code
100550 -        inadvertantly executing, when the string is entered into
100551 -        00903.cmd, which has an option for opening the current file at
100552 -        the nearest anchor.
100553 -
100554 -
100556 -  ..
100557 - Line 160, ref OF 1 YW6O, -label opcF in 00903
100558 -
100559 -    -label opcF
100560 -    -if @221 < 15 setcnt 221 121
100561 -    -if @221 > 14 setcnt 221 122
100562 -    setgbl 221 @221
100563 -    gfname
100564 -    macro 1180
100565 -
100566 -       [On 040714 added support for new system of document file
100567 -       segments, so that this op opens the file visible on the screen
100568 -       in a browser either on the local server or on the Internet, will
100569 -       open the full document and not a file segment of the document.
100570 -       ref SDS 8 W17G
100571 -
100572 -
100574 -  ..
100575 - Line 330, ref OF 1 DQ6F, -label lp189 in 00903
100576 -
100577 -    -label lp189
100578 -    macro 1189
100579 -    pushc
100580 -    rel_cur 0 -19
100581 -    ic 115
100582 -    ic 100
100583 -    popc
100584 -    getgbl 169 169
100585 -    -if @169 != 7777 -goto 1181
100586 -
100587 -        After entering the string from gfname command that has the
100588 -        nominal filename to open on the local server or on the
100589 -        Internet, this string has to be modified to change upper case
100590 -        SD to lower case "sd" because the Internet server is sensitive
100591 -        to case, while the local server is not.  Therefore, can make a
100592 -        common change that will work for both the local and the
100593 -        Internet server.  Cursor is at the end of the string.  pushc
100594 -        saves this location, so the op can do the next step of setting
100595 -        the dir structure for a current diary record, if necessary.
100596 -        rel_cur 0 -19 makes a common move back to set the dir to "sd"
100597 -        ic 115 and ic 100 enter "sd" and popc moves back to the end of
100598 -        the string, ready to enter ".HTM"  getgbl 169 169 captures
100599 -        status of whether this is a current diary record, which
100600 -        requires modifying the gfname string.  -if @169 != 7777 -goto
100601 -        1181 means this is not a current diary record, so the code can
100602 -        proceed to enter the ending file extension that identifies a
100603 -        web browser.
100604 -
100605 -
100606 -
100608 -     ..
100609 -    Context Files Opened with Browser to Particular Anchor
100610 -
100611 -
100612 - Line 370, ref OF 1 V88I, -label getfiN in 00903
100613 -
100614 -    z 1 70
100615 -    up
100616 -    immed /
100617 -    errorcnt 0 0
100618 -    setgbl 241 0
100619 -    -label lpanC
100620 -    loc_cur 3 80
100621 -    linecnt 1 0
100622 -    -if @1 < 10 -goto nan
100623 -    l-/</
100624 -    -if @0 > 0 -goto nan
100625 -    fl /</
100626 -    macro 1361
100627 -    -if @6 = 0 -goto lpanC
100628 -    setgbl 241 @2
100629 -    setgbl 242 @3
100630 -    setgbl 243 @4
100631 -    setgbl 244 @5
100632 -    -label nan
100633 -
100634 -        z 1 70 to look for an anchor above the cursor start line.  The
100635 -        code does an up command to look for an anchor on the cursor
100636 -        line.  This makes it a little easier for the user to select the
100637 -        precise view to render in the browser.  immed / shifts the
100638 -        cursor line to the top of the screen to look for an anchor.
100639 -        setgbl 241 0 turns flag off or looking for an anchor, so that
100640 -        in order to look for an anchor, the flag must be affirmatively
100641 -        set to on.  linecnt 1 0 if the cursor not below line 10, open
100642 -        the file to the top of the file.  l-/</ looks for an anchor
100643 -        above the cursor line to position the file in the same
100644 -        approximate position the user has for the originating file.  Do
100645 -        a loop looking for an anchor, if with macro 1361 when found
100646 -        capture the ID in globals 241 - 244.
100647 -
100648 -
100649 -
100650 -
100652 -  ..
100653 - Line 470, ref OF 1 OM8K, -label nan in 00903 about 50 lines below
100654 -
100655 -    77 1
100656 -
100657 -        Set flag on for running iexplorer.exe in the set command
100658 -        configured in 00903.cmd.  This enables opening files in HTML to
100659 -        a particular anchor, per above. ref SDS 0 L38N
100660 -
100661 -
100662 -
100664 -     ..
100665 -    Anchor Append to Filename in 00903.CMD
100666 -
100667 -
100668 - Line 350, ref OF 1 W16J, -label lp189 in 00903
100669 -
100670 -    -label lp189
100671 -    macro 1189
100672 -    getgbl 169 169
100673 -    -if @169 != 7777 -goto 1181
100674 -    getgbl 3 163
100675 -    getgbl 4 164
100676 -    getgbl 5 165
100677 -    getgbl 6 166
100678 -    getgbl 7 167
100679 -    getgbl 8 168
100680 -    rel_cur 0 -6
100681 -
100683 -  ..
100684 - Line 690, ref OF 1 K79N, -label 1181 in 00903
100685 -
100686 -    ins_text !.HTM!
100687 -    getgbl 241 241
100688 -    -if @241 = 0 -goto nancrr
100689 -    eol
100690 -    getgbl 242 242
100691 -    getgbl 243 243
100692 -    getgbl 244 244
100693 -    ic 35
100694 -    ic @241
100695 -    ic @242
100696 -    ic @243
100697 -    ic @244
100698 -    -label nancrr
100699 -
100700 -        getgbl 241 241 reads flag set to establish the op will open an
100701 -        HTML file to an anchor, set above.  If there is an anchor,
100702 -        append the anchor flag # and then the string, read above.
100703 -
100704 -
100705 -
100707 -     ..
100708 -    HTML Files Use IE to Open with Grannular Addressability
100709 -
100710 -
100711 - Line 830, ref OF 1 L84O, -label ocfwb8 in 00903
100712 -
100713 -    -label ocfwb8
100714 -    rel_cur 0 -5
100715 -    chrcnt 1 0
100716 -    rel_cur 0 1
100717 -    chrcnt 1 0
100718 -    -if @1 = 46 -goto dotk
100719 -    -if @2 = 46 -goto dotk
100720 -    -goto nHTL
100721 -
100722 -        Cursor is at the end of the string, ready to enter a quote, so
100723 -        backup and test for HTML extension.  If there is not a dot on
100724 -        either the 5th or 4th position back, then this cannot be an
100725 -        html extension, because it requires a dot.
100726 -
100727 -
100728 -    -label dotk
100729 -    chrcnt 1 0
100730 -    rel_cur 0 1
100731 -    chrcnt 2 0
100732 -    rel_cur 0 1
100733 -    chrcnt 3 0
100734 -    -if @1 = 72 -if @2 = 84 -if @3 = 76 -goto htmie
100735 -    -if @1 = 72 -if @2 = 84 -if @3 = 108 -goto htmie
100736 -    -if @1 = 72 -if @2 = 116 -if @3 = 76 -goto htmie
100737 -    -if @1 = 72 -if @2 = 116 -if @3 = 108 -goto htmie
100738 -    -if @1 = 104 -if @2 = 116 -if @3 = 108 -goto htmie
100739 -    -if @1 = 104 -if @2 = 84 -if @3 = 76 -goto htmie
100740 -    -if @1 = 104 -if @2 = 116 -if @3 = 76 -goto htmie
100741 -    -if @1 = 104 -if @2 = 84 -if @3 = 108 -goto htmie
100742 -    -goto nHTL
100743 -    -label htmie
100744 -    setgbl 77 1
100745 -
100746 -        Move cursor forward 1 position and capture char; do this 3
100747 -        times to get 3 char.  If they are HTM or HTML in upper or lower
100748 -        case, then set setgbl 77 1 for the iexplorer set command op.
100749 -
100750 -
100752 -     ..
100753 -    Set Command Configure Iexplorer or Generic
100754 -
100756 -  ..
100757 - Line 930, ref OF 1 XG3J, -label aeol in 00903
100758 -
100759 -    top
100760 -    l /s/
100761 -    immed a
100762 -    immed d
100763 -    -if @77 = 0 ins_text !set SIE=%systemroot%\system32\cmd.exe /C start /I "SDS"!
100764 -    -if @77 = 1 ins_text !set SIE=%systemroot%\system32\dllcache\iexplore.exe!
100765 -
100766 -        Moved code that configures the set command to the end of
100767 -        processing rather than when 00903.cmd is initially opened.
100768 -        This reduces duplication, based on new code today that
100769 -        determines when an HTML file is being processed, so it can be
100770 -        opened to an anchor, if any exist in the file.
100771 -
100772 -
100773 -
100774 -
100775 -
100776 -
100777 -
100778 -
100779 -
100780 -
100781 -
1008 -