ISO8601 Plugin

May 20, 2008
3,515
4
Elkridge, MD, USA
Charles:
1/ .DLL suggestion
A command (e.g. 8601HELP) which unconditionally starts MS' hh.exe for ISO8601.CHM, preferably at the selected topic. I have a batch file which allows me to invoke any 4nt/tcc help file with a selected topic. The actual command invoking help from 4nt/tcc is:
hh.exe %[hlp]%parm
where hh.exe is normally in %PATH already (by default it is in the WINDOWS home directory), the variable %HLP resolves to the full filespecification of the desired .CHM file, and %PARM is set to "::/topic.htm" (without quotation marks). The batch program translates leading at sign (@) of internal function names to f_ to match the tcmd.chm conventions.

2/ HELP suggestion
- Underline or otherwise indicate by font etc. links to other topic, e.g., input formats
- use local links from command or function parameter fields to their respective explanations
- may wish to expand "day number" categories with Unix / HTML day numbers
--
Steve
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,461
88
Albuquerque, NM
prospero.unm.edu
1/ .DLL suggestion
A command (e.g. 8601HELP) which unconditionally starts MS' hh.exe for ISO8601.CHM, preferably at the selected topic. I have a batch file which allows me to invoke any 4nt/tcc help file with a selected topic. The actual command invoking help from 4nt/tcc is:
hh.exe %[hlp]%parm
where hh.exe is normally in %PATH already (by default it is in the WINDOWS home directory), the variable %HLP resolves to the full filespecification of the desired .CHM file, and %PARM is set to "::/topic.htm" (without quotation marks). The batch program translates leading at sign (@) of internal function names to f_ to match the tcmd.chm conventions.

The HELP command should do all of that for you automatically....

2/ HELP suggestion
- Underline or otherwise indicate by font etc. links to other topic, e.g., input formats

They are underlined, but only when you roll over them. Not obvious enough? That's just CSS, trivial to change.

- use local links from command or function parameter fields to their respective explanations

Not so trivial; the CHM is largely generated from the HTML file. The script which divvies up the HTML file converts all the internal links to external links, since the individual topics are separate pages in the CHM file. I'd have to think about that one.

- may wish to expand "day number" categories with Unix / HTML day numbers

I'm afraid I don't understand that one.
 
May 20, 2008
3,515
4
Elkridge, MD, USA
---- Original Message ----
From: Charles Dye
To: ESFabian@zenge.org
Sent: Monday, 2011. February 7. 16:06
Subject: RE: [Plugins-t-2585] Re: ISO8601 Plugin

| Quote:
| Originally Posted by Steve F�bi�n
|| 1/ .DLL suggestion
|| A command (e.g. 8601HELP) which unconditionally starts MS' hh.exe for
|| ISO8601.CHM, preferably at the selected topic.
||...
| The HELP command should do all of that for you automatically....

Yes and no. When I explicitly specify a known feature in your plugin (without misspelling), I get your help file; once there, I can navigate elsewhere. If it is not a perfect match, or if I just type HELP, I get the TCC help with no posibility of reverting to yours. I could create an explicit alias to go directly to your help the way I can use Hnn to invoke the 4nt/tcc help for version NN, but it would be more consistent with Frederic Romano's and Vince's plugins to have a special command internally to the plugin.

|
|
| Quote:
| 2/ HELP suggestion
| - Underline or otherwise indicate by font etc. links to other topic,
| e.g., input formats
|
| They are underlined, but only when you roll over them. Not obvious
| enough? That's just CSS, trivial to change.
|
|
| Quote:
| - use local links from command or function parameter fields to their
| respective explanations
|
| Not so trivial; the CHM is largely generated from the HTML file. The
| script which divvies up the HTML file converts all the internal links
| to external links, since the individual topics are separate pages in
| the CHM file. I'd have to think about that one.

I had implemented this feature in the 4DOS/4NT/TC32 help files six years ago, but I used an editing tool JP Software had purchased.
|
| Quote:
| - may wish to expand "day number" categories with Unix / HTML day
| numbers
|
| I'm afraid I don't understand that one.

Unix / POSIX (and imitating them HTML documents) store time as seconds since 1970-01-01 00:00:00 UTC (ignoring the issue of leap seconds). That's exactly a decade earlier than the smallest MS-DOS filedate. Note that the 4DOS+ @DATE function does NOT use the MS-DOS filesystem's representation of filedates (7b year, 4b month, 5b day). It is a date representation unique to JP Software products! I'd call it "JPsoft day number". By analogy the Unix day number is just offset by 3652 days.

Sorry for the long delay in responding, I had not been well.
--
Steve
 
May 20, 2008
3,515
4
Elkridge, MD, USA
This response relates to the webpage. In addition to the version numbers, you ought to have the file ages (content modification timestamps) displayed. This would make it easy to check what's not up to date on our systems.

However, FTP based download site would allow downloading anything newer than I already have automatically, using TCC command COPY/S/Z/UF. That would be even better.
--
Steve
 
Similar threads
Thread starter Title Forum Replies Date
dcantor Request for documentation for ISO8601 plugin Plugins 4
H Latest ISO8601 plugin? Plugins 1
M ISO8601 Plugin not "reporting" errors to TCC... Plugins 4
S WAD ISO8601 Plugin Plugins 15
dcantor @DATEDIFF UDF function using ISO8601 plugin functions Plugins 0
dcantor Request for ISO8601 plugin Plugins 19
Joe Caverly ISO8601 and TCC-RT Plugins 4
Joe Caverly November 10 is Thursday? (ISO8601-x64.dll) Plugins 6
Joe Caverly ISO8601-x64.dll and TCC 21 Plugins 5
Joe Caverly @ORD in ISO8601 Plugins 1
jbanaszczyk QCAL / iso8601 holidays.ini - POLAND Plugins 16
S ISO8601 desideratum Plugins 5
Joe Caverly 64-bit Plugin development using PureBasic Plugins 15
R New Plugin Plugins 0
Alpengreis elevated plugin questions Plugins 3
fpefpe utf-8 support in sdk/plugin api Plugins 4
S How to? Can @DU function in 4Utils64 plugin somehow cater for dirs with spaces? Plugins 3
vefatica Plugin access to arrays? Plugins 4
vefatica How big is a plugin's parameter buffer? Plugins 5
C @knownpath plugin Plugins 0
Charles Dye Updated OSD plugin Plugins 0
Joe Caverly C# plugin framework for JPSoft's TCC Plugins 0
dcantor Help for newest version of TEXTUTILS plugin Plugins 10
dcantor UISTUFF plugin missing help topic Plugins 12
M How to? Use SafeChars plugin... Plugins 2
dcantor Error in SAFECHARS plugin v 1.9.0 Plugins 2
vefatica Possible with a plugin? Plugins 6
dcantor Inconsistency between textutils plugin and wrap utility Plugins 2
M (Stupid?) Problem with 64-bit 4Utils plugin... Plugins 3
Charles Dye New plugin: QKeys Plugins 34
S Plugin to quickly locate all files hard linked together Plugins 5
S Documentation Plugin everything.dll Plugins 5
newbie How to? Multi-plugin installation errors, Re: FedUtils8 Plugins 7
vefatica Plugin -> thread -> Command() -> Ctrl-C? Plugins 20
Charles Dye A weirdoid plugin question Plugins 6
M SafeChars plugin misbehaving... Plugins 3
M A weird error re a plugin... Plugins 0
vefatica Plugin dilemma Plugins 2
fpefpe Documentation Plugin API/SDK Plugins 3
C Looking for Vince's old 4UTILS plugin for TCMD v8 Plugins 1
S DESKTOP plugin - anyone ? Plugins 0
C How to? a plugin to sort Outlook Express "rules" Plugins 0
M ISO Plugin: Yes, it's wonderful, but it could be yet more wonderful... Plugins 7
M The ISO plugin is wonderful, but it lacks a little something... Plugins 22
Charles Dye Beta plugin: HidePasswords Plugins 3
Frank 4console plugin Plugins 4
Joe Caverly Plugin and 64-bit TCC Plugins 3
C Problem with FixNames plugin Plugins 9
dcantor Suggestion and request for DBF plugin Plugins 6
dcantor Suggestion for SafeChars plugin Plugins 7

Similar threads