Documentation v15 help: More odd mailto: links in the help

Feb 26, 2013
100
0
1. TCC > Variable & Functions > Functions > @FTYPE
The example contains a mailto: link which creates an e-mail addressed to %@ftype[Word.Document.8

2. TCC > Variable & Functions > Functions > @FORMATNC
Both examples contain mailto: links which create e-mails addressed to %@formatnc[5.10,%@eval[2300*4.7] and %@formatnc[010.3,5 respectively.

3. TCC > Variable & Functions > Functions > @FORMATN
Both examples contain mailto: links which create e-mails addressed to %@formatn[5.10,%@eval[2300*4.7] and %@formatn[010.3,5 respectively.

4. TCC > Variable & Functions > Functions > @FLOOR
The first example contains a mailto: link which creates an e-mail addressed to %@floor[3.14

5. TCC > Variable & Functions > Functions > @FILESIZE
The first example contains a mailto: link which creates an e-mail addressed to %@filesize[d:\path\myfile.ext
 
Feb 26, 2013
100
0
These are the result of the Help Compiler being "helpful". (And it's a royal PITA to convince it *not* to do it for each one -- there's no way to prevent it globally.)

I see what you mean, it's assuming that if you use a "@" symbol then it *must* be an e-mail address, and since all the TCC functions us an "@" I also see why it is a PITA!
 
May 24, 2010
855
0
Northlake, Il
I see what you mean, it's assuming that if you use a "@" symbol then it *must* be an e-mail address, and since all the TCC functions us an "@" I also see why is a PITA!
Rex, a possibly unhelpful suggestion: Use a character other than "@" in the help file (possibly a tilde?) and then use a binary editor to do a global replace of the tilde by an at-sign. (I used to have an editor with which I could do such things, but that was a long time ago and I don't even remember what the editor was/where I got it from. However, I think a program could be written rather easily in a high-level language to do such a replacement. The only problem would come if the help file had a CRC (a value that's typically derived by XOR'ing all of the bytes in the file together) which I think is rather doubtful for a help file.
 
Feb 26, 2013
100
0
that´s why Mathew suggested to use a binary editor for replacement purposes :)

But by that time it's too late, the mailto: links will have been created in the .CHM file and replacing an individual character won't change that. The issue is telling the help compiler not to treat every sequence of x@yy as an e-mail address and thus creating a mailto: link for it. Since there's no global configuration option to set that Rex has to nurdle each instance separately in the help source code :banghead:
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,491
90
Albuquerque, NM
prospero.unm.edu
And the individual '@' characters have been replaced by other (unknown) ones during the compilation as part of the compression encoding -- they don't exist in the .CHM output file.

Now if you could do that to the compiler, so it uses, say, a cent sign to detect email addresses, that would be helpful! But finding the correct one would doubtless be a royal pain.
 
Similar threads
Thread starter Title Forum Replies Date
Dan Glynhampton Documentation v15 help: More mailto: links Support 2
D How to? V15.00.30 -(help!) - Floating view windows don't open Support 1
H V15 Help: Error in ASSOCIATE topic Support 0
Dan Glynhampton Documentation v15 help: Some trivial nitpicking. Support 1
Dan Glynhampton Documentation v15 help: Error in @ISSPACE topic Support 0
Dan Glynhampton Documentation v15 help: Error in @TASCII topic Support 0
Dan Glynhampton Documentation v15 help: A couple of typos Support 0
Dan Glynhampton Documentation v15 help: Minor niggles Support 0
Dan Glynhampton Documentation v15 help: Missing link Support 0
Dan Glynhampton Documentation v15 help: Syntax error in example of @DEC Support 0
Dan Glynhampton Documentation v15 help: Another mailto: link oddity Support 0
Dan Glynhampton Documentation v15 help: Error in @HTMLDECODE topic Support 0
Dan Glynhampton Documentation v15 help: Error in @TUPPER topic Support 0
Dan Glynhampton Documentation v15 help: Error on @TRIMALL function page Support 0
Dan Glynhampton Documentation v15 help: Strange links in @INT topic Support 0
Dan Glynhampton Documentation v15 help: Incorrect Links Support 0
Dan Glynhampton Documentation v15 help: Help for SCREENMONITOR command Support 0
Dan Glynhampton Documentation v15 help: ECHOXERR Help Page Title is Wrong Support 0
Dan Glynhampton Documentation Bad links in v15 help Support 0
Dan Glynhampton Documentation Bad Link/Missing Page in v15 help Support 0
newbie Upgrade from v15 to v21 Support 9
MickeyF problem using COM object in VBScript from v16 x64 TCC but not from v15 32-bit TCC Support 4
vefatica Fixed V14, V15, V16 now corrupt Support 4
S Documentation Webpage not showing latest V15 build Support 0
D Folder/List view changed in v15 Support 8
Dan Glynhampton Fixed v15 sendmail : password encryption problem Support 18
nikbackm Fixed v15: Issue with @select Support 3
nikbackm Registration problem with v15 Support 16
S list seems to loose focus v15 Support 2
Dan Glynhampton v15 installer question Support 2
G How to? v15: Can't alias Alt-Z Support 7
C Startup folder not working on v15 Support 6
G Fixed v15.00.27: @SELECT Support 10
H V15 installer difficult to use with JAWS screen reader Support 0
nikbackm Fixed v15: VIEW - encoding and CSV issues Support 9
nikbackm v15: Problem with ALIAS in command group Support 10
vefatica V15's automatic error emails to JPSoft! Support 3
C v15 not on ftp site? Support 8
Peter Bratton Observations on v15 install Support 4
C Add link to ewriter help to program group... Support 3
samintz How to? Search for %(command) in Help? Support 1
Joe Caverly Favorites in eWriter Help Support 6
Joe Caverly Quick Search in eWriter Help Support 1
vefatica Online help? Support 2
fishman@panix.com HELP!! I just updated to Version 28 and as usual I cannot make extended directory search work. Support 2
JohnQSmith New online help file wrong logo Support 7
Jay Sage Documentation Function @DRIVE Missing in Help Lists Support 0
Charles Dye More help nits Support 0
D Documentation Typo in COPY help Support 0
FreezerBurnt Help making a CMD and TCC compatible batch file Support 7

Similar threads