AutoHotkey Community

It is currently May 27th, 2012, 1:23 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: November 19th, 2009, 6:25 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
Please do not expect UnHTM() to unformat a whole HTML file. If you have already parsed out a string, and need to unformat it to plain text, then UnHTM() would be handy.

Code:
UnHTM( HTM ) {   ; Remove HTML formatting / Convert to ordinary text   by SKAN 19-Nov-2009
 Static HT,C=";" ; Forum Topic: www.autohotkey.com/forum/topic51342.html  Mod: 16-Sep-2010
 IfEqual,HT,,   SetEnv,HT, % "&aacuteá&acircâ&acute´&aeligæ&agraveà&amp&aringå&atildeã&au"
 . "mlä&bdquo„&brvbar¦&bull•&ccedilç&cedil¸&cent¢&circˆ&copy©&curren¤&dagger†&dagger‡&deg"
 . "°&divide÷&eacuteé&ecircê&egraveè&ethð&eumlë&euro€&fnofƒ&frac12½&frac14¼&frac34¾&gt>&h"
 . "ellip…&iacuteí&icircî&iexcl¡&igraveì&iquest¿&iumlï&laquo«&ldquo“&lsaquo‹&lsquo‘&lt<&m"
 . "acr¯&mdash—&microµ&middot·&nbsp &ndash–&not¬&ntildeñ&oacuteó&ocircô&oeligœ&ograveò&or"
 . "dfª&ordmº&oslashø&otildeõ&oumlö&para¶&permil‰&plusmn±&pound£&quot""&raquo»&rdquo”&reg"
 . "®&rsaquo›&rsquo’&sbquo‚&scaronš&sect§&shy &sup1¹&sup2²&sup3³&szligß&thornþ&tilde˜&tim"
 . "es×&trade™&uacuteú&ucircû&ugraveù&uml¨&uumlü&yacuteý&yen¥&yumlÿ"

 $ := RegExReplace( HTM,"<[^>]+>" )               ; Remove all tags between  "<" and ">"
 Loop, Parse, $, &`;                              ; Create a list of special characters
   L := "&" A_LoopField C, R .= (!(A_Index&1)) ? ( (!InStr(R,L,1)) ? L:"" ) : ""
 StringTrimRight, R, R, 1
 Loop, Parse, R , %C%                               ; Parse Special Characters
  If F := InStr( HT, L := A_LoopField )             ; Lookup HT Data
    StringReplace, $,$, %L%%C%, % SubStr( HT,F+StrLen(L), 1 ), All
  Else If ( SubStr( L,2,1)="#" )
    StringReplace, $, $, %L%%C%, % Chr(((SubStr(L,3,1)="x") ? "0" : "" ) SubStr(L,3)), All
Return RegExReplace( $, "(^\s*|\s*$)")            ; Remove leading/trailing white spaces
}


Code:
; Example:
HTM = <a href="/intl/en/ads/">Advertising&nbsp;Programs</a>
MsgBox, % UnHTM( HTM )


Thanks to AGermanUser for NeedleRegEx

:)





Code:
; Array of Special Character Entities was created with following code
Loop % 256-33 {
Transform, F, HTML, % Chr( A := A_Index+33 )
If Strlen(F) > 1 && !Instr( F, "#" )
  list .= "&" SubStr(F,2, StrLen(F)-2) Chr(A )
}
StringLower, List, List
Sort, List, D& U
Clipboard := List
MsgBox, 0, % StrLen( List ), % Clipboard


Last edited by SKAN on September 16th, 2010, 9:35 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 19th, 2009, 6:46 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
Hi Skan,

what would be the difference between yours and "[stdlib] unHTML - Strips Tags and Entities from given Source" by derRaphael?
http://www.autohotkey.com/forum/topic38183.html

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 19th, 2009, 10:08 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
HugoV wrote:
what would be the difference between yours and .... by derRaphael?


Well. There is also StripHTMLItems() posted by Jamie. The functionality between these three are more or less the same but I wrote mine from scratch for it to be Standalone and Compact... and to be an accessory to StrX() [a wrapper for SubStr()] that I am about to post. The examples for StrX() will be pointing towards this thread.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 19th, 2009, 10:28 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
Can't wait :D

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 19th, 2009, 10:39 pm 
Offline

Joined: November 15th, 2009, 10:21 pm
Posts: 21
Location: London, UK
Well done!

_________________
Image

http://www.autohotkey.net/~FirstToyLab/


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 20th, 2009, 1:25 am 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
Thanks "First Toy Labs". :)

HugoV wrote:
Can't wait :D


Hope I do not disappoint you! :)

StrX() : http://www.autohotkey.com/forum/topic51354.html


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 18th, 2010, 7:42 pm 
Offline

Joined: February 26th, 2010, 1:11 am
Posts: 38
Great!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 28th, 2010, 7:34 pm 
Offline
User avatar

Joined: December 30th, 2009, 10:30 pm
Posts: 160
Location: Worcester, Massachusetts
Well, I guess my code is a bit antiquated then, hehe:

Code:
CleanHTML(v)
{
   StringReplace v, v, !, !, All
   StringReplace v, v, &quot;, ", All
   StringReplace v, v, ", ", All
   StringReplace v, v, #, #, All
   StringReplace v, v, $, $, All
   StringReplace v, v, %, `%, All
   StringReplace v, v, &, &, All
   StringReplace v, v, &, &, All
   StringReplace v, v, ', ', All
   StringReplace v, v, (, (, All
   StringReplace v, v, ), ), All
   StringReplace v, v, *, *, All
   StringReplace v, v, +, +, All
   StringReplace v, v, ,, ,, All
   StringReplace v, v, -, -, All
   StringReplace v, v, ., ., All
   StringReplace v, v, /, /, All
   StringReplace v, v, 0, 0, All
   StringReplace v, v, 1, 1, All
   StringReplace v, v, 2, 2, All
   StringReplace v, v, 3, 3, All
   StringReplace v, v, 4, 4, All
   StringReplace v, v, 5, 5, All
   StringReplace v, v, 6, 6, All
   StringReplace v, v, 7, 7, All
   StringReplace v, v, 8, 8, All
   StringReplace v, v, 9, 9, All
   StringReplace v, v, :, :, All
   StringReplace v, v, ;, ;, All
   StringReplace v, v, &lt;, <, All
   StringReplace v, v, <, <, All
   StringReplace v, v, =, =, All
   StringReplace v, v, &gt;, >, All
   StringReplace v, v, >, >, All
   StringReplace v, v, ?, ?, All
   StringReplace v, v, @, @, All
   StringReplace v, v, A, A, All
   StringReplace v, v, B, B, All
   StringReplace v, v, C, C, All
   StringReplace v, v, D, D, All
   StringReplace v, v, E, E, All
   StringReplace v, v, F, F, All
   StringReplace v, v, G, G, All
   StringReplace v, v, H, H, All
   StringReplace v, v, I, I, All
   StringReplace v, v, J, J, All
   StringReplace v, v, K, K, All
   StringReplace v, v, L, L, All
   StringReplace v, v, M, M, All
   StringReplace v, v, N, N, All
   StringReplace v, v, O, O, All
   StringReplace v, v, P, P, All
   StringReplace v, v, Q, Q, All
   StringReplace v, v, R, R, All
   StringReplace v, v, S, S, All
   StringReplace v, v, T, T, All
   StringReplace v, v, U, U, All
   StringReplace v, v, V, V, All
   StringReplace v, v, W, W, All
   StringReplace v, v, X, X, All
   StringReplace v, v, Y, Y, All
   StringReplace v, v, Z, Z, All
   StringReplace v, v, [, [, All
   StringReplace v, v, \, \, All
   StringReplace v, v, ], ], All
   StringReplace v, v, ^, ^, All
   StringReplace v, v, _, _, All
   StringReplace v, v, `, `, All
   StringReplace v, v, a, a, All
   StringReplace v, v, b, b, All
   StringReplace v, v, c, c, All
   StringReplace v, v, d, d, All
   StringReplace v, v, e, e, All
   StringReplace v, v, f, f, All
   StringReplace v, v, g, g, All
   StringReplace v, v, h, h, All
   StringReplace v, v, i, i, All
   StringReplace v, v, j, j, All
   StringReplace v, v, k, k, All
   StringReplace v, v, l, l, All
   StringReplace v, v, m, m, All
   StringReplace v, v, n, n, All
   StringReplace v, v, o, o, All
   StringReplace v, v, p, p, All
   StringReplace v, v, q, q, All
   StringReplace v, v, r, r, All
   StringReplace v, v, s, s, All
   StringReplace v, v, t, t, All
   StringReplace v, v, u, u, All
   StringReplace v, v, v, v, All
   StringReplace v, v, w, w, All
   StringReplace v, v, x, x, All
   StringReplace v, v, y, y, All
   StringReplace v, v, z, z, All
   StringReplace v, v, {, {, All
   StringReplace v, v, |, |, All
   StringReplace v, v, }, }, All
   StringReplace v, v, &tilde;, ~, All
   StringReplace v, v, ~, ~, All
   StringReplace v, v, , , All
   StringReplace v, v, €, €, All
   StringReplace v, v, , ?, All
   StringReplace v, v, &sbquo;, ‚, All
   StringReplace v, v, ‚, ‚, All
   StringReplace v, v, ƒ, ƒ, All
   StringReplace v, v, &dbquo;, „, All
   StringReplace v, v, „, „, All
   StringReplace v, v, …, …, All
   StringReplace v, v, &dagger;, †, All
   StringReplace v, v, †, †, All
   StringReplace v, v, &Dagger;, ‡, All
   StringReplace v, v, ‡, ‡, All
   StringReplace v, v, ˆ, ˆ, All
   StringReplace v, v, &permil;, ‰, All
   StringReplace v, v, ‰, ‰, All
   StringReplace v, v, Š, Š, All
   StringReplace v, v, &lsaquo;, ‹, All
   StringReplace v, v, ‹, ‹, All
   StringReplace v, v, Œ, Œ, All
   StringReplace v, v, , ?, All
   StringReplace v, v, Ž, Ž, All
   StringReplace v, v, , ?, All
   StringReplace v, v, , ?, All
   StringReplace v, v, &lsquo;, ‘, All
   StringReplace v, v, ‘, ‘, All
   StringReplace v, v, &rsquo;, ’, All
   StringReplace v, v, ’, ’, All
   StringReplace v, v, &ldquo;, “, All
   StringReplace v, v, “, “, All
   StringReplace v, v, &rdquo;, ”, All
   StringReplace v, v, ”, ”, All
   StringReplace v, v, •, •, All
   StringReplace v, v, &ndash;, –, All
   StringReplace v, v, –, –, All
   StringReplace v, v, &mdash;, —, All
   StringReplace v, v, —, —, All
   StringReplace v, v, &tilde, ˜, All
   StringReplace v, v, ˜, ˜, All
   StringReplace v, v, &trade;, ™, All
   StringReplace v, v, ™, ™, All
   StringReplace v, v, š, š, All
   StringReplace v, v, &rsaquo;, ›, All
   StringReplace v, v, ›, ›, All
   StringReplace v, v, œ, œ, All
   StringReplace v, v, , ?, All
   StringReplace v, v, ž, ž, All
   StringReplace v, v, &Yuml;, Ÿ, All
   StringReplace v, v, Ÿ, Ÿ, All
   StringReplace v, v, &nbsp;, %A_Space%, All
   StringReplace v, v,  , %A_Space%, All
   StringReplace v, v, &iexcl;, ¡, All
   StringReplace v, v, ¡, ¡, All
   StringReplace v, v, &cent;, ¢, All
   StringReplace v, v, ¢, ¢, All
   StringReplace v, v, &pound;, £, All
   StringReplace v, v, £, £, All
   StringReplace v, v, &curren;, ¤, All
   StringReplace v, v, ¤, ¤, All
   StringReplace v, v, &yen;, ¥, All
   StringReplace v, v, ¥, ¥, All
   StringReplace v, v, &brvbar;, ¦, All
   StringReplace v, v, ¦, ¦, All
   StringReplace v, v, &sect;, §, All
   StringReplace v, v, §, §, All
   StringReplace v, v, &uml;, ¨, All
   StringReplace v, v, ¨, ¨, All
   StringReplace v, v, &copy;, ©, All
   StringReplace v, v, ©, ©, All
   StringReplace v, v, &ordf;, ª, All
   StringReplace v, v, ª, ª, All
   StringReplace v, v, &laquo;, «, All
   StringReplace v, v, «, «, All
   StringReplace v, v, &not;, ¬, All
   StringReplace v, v, ¬, ¬, All
   StringReplace v, v, &shy;, ­, All
   StringReplace v, v, ­, ­, All
   StringReplace v, v, &reg;, ®, All
   StringReplace v, v, ®, ®, All
   StringReplace v, v, &macr;, ¯, All
   StringReplace v, v, ¯, ¯, All
   StringReplace v, v, &deg;, °, All
   StringReplace v, v, °, °, All
   StringReplace v, v, &plusmn;, ±, All
   StringReplace v, v, ±, ±, All
   StringReplace v, v, &sup2;, ², All
   StringReplace v, v, ², ², All
   StringReplace v, v, &sup3;, ³, All
   StringReplace v, v, ³, ³, All
   StringReplace v, v, ´, ´, All
   StringReplace v, v, &micro;, µ, All
   StringReplace v, v, µ, µ, All
   StringReplace v, v, &para;, ¶, All
   StringReplace v, v, ¶, ¶, All
   StringReplace v, v, &middot;, ·, All
   StringReplace v, v, ·, ·, All
   StringReplace v, v, &cedil;, ¸, All
   StringReplace v, v, ¸, ¸, All
   StringReplace v, v, &sup1;, ¹, All
   StringReplace v, v, ¹, ¹, All
   StringReplace v, v, &ordm;, º, All
   StringReplace v, v, º, º, All
   StringReplace v, v, &raquo;, », All
   StringReplace v, v, », », All
   StringReplace v, v, &frac14;, ¼, All
   StringReplace v, v, ¼, ¼, All
   StringReplace v, v, &frac12;, ½, All
   StringReplace v, v, ½, ½, All
   StringReplace v, v, &frac34;, ¾, All
   StringReplace v, v, ¾, ¾, All
   StringReplace v, v, ¿, ¿, All
   StringReplace v, v, &Agrave;, À, All
   StringReplace v, v, À, À, All
   StringReplace v, v, &Aacute;, Á, All
   StringReplace v, v, Á, Á, All
   StringReplace v, v, &Acirc;, Â, All
   StringReplace v, v, Â, Â, All
   StringReplace v, v, &Atilde;, Ã, All
   StringReplace v, v, Ã, Ã, All
   StringReplace v, v, &Auml;, Ä, All
   StringReplace v, v, Ä, Ä, All
   StringReplace v, v, &Aring;, Å, All
   StringReplace v, v, Å, Å, All
   StringReplace v, v, &AElig;, Æ, All
   StringReplace v, v, Æ, Æ, All
   StringReplace v, v, &Ccedil;, Ç, All
   StringReplace v, v, Ç, Ç, All
   StringReplace v, v, &Egrave;, È, All
   StringReplace v, v, È, È, All
   StringReplace v, v, &Eacute;, É, All
   StringReplace v, v, É, É, All
   StringReplace v, v, &Ecirc;, Ê, All
   StringReplace v, v, Ê, Ê, All
   StringReplace v, v, &Euml;, Ë, All
   StringReplace v, v, Ë, Ë, All
   StringReplace v, v, &Igrave;, Ì, All
   StringReplace v, v, Ì, Ì, All
   StringReplace v, v, &Iacute;, Í, All
   StringReplace v, v, Í, Í, All
   StringReplace v, v, &Icirc;, Î, All
   StringReplace v, v, Î, Î, All
   StringReplace v, v, &Iuml;, Ï, All
   StringReplace v, v, Ï, Ï, All
   StringReplace v, v, &ETH;, Ð, All
   StringReplace v, v, Ð, Ð, All
   StringReplace v, v, &Ntilde;, Ñ, All
   StringReplace v, v, Ñ, Ñ, All
   StringReplace v, v, &Ograve;, Ò, All
   StringReplace v, v, Ò, Ò, All
   StringReplace v, v, &Oacute;, Ó, All
   StringReplace v, v, Ó, Ó, All
   StringReplace v, v, &Ocirc;, Ô, All
   StringReplace v, v, Ô, Ô, All
   StringReplace v, v, &Otilde;, Õ, All
   StringReplace v, v, Õ, Õ, All
   StringReplace v, v, &Ouml;, Ö, All
   StringReplace v, v, Ö, Ö, All
   StringReplace v, v, &times;, ×, All
   StringReplace v, v, ×, ×, All
   StringReplace v, v, &Oslash;, Ø, All
   StringReplace v, v, Ø, Ø, All
   StringReplace v, v, &Ugrave;, Ù, All
   StringReplace v, v, Ù, Ù, All
   StringReplace v, v, &Uacute;, Ú, All
   StringReplace v, v, Ú, Ú, All
   StringReplace v, v, &Ucirc;, Û, All
   StringReplace v, v, Û, Û, All
   StringReplace v, v, &Uuml;, Ü, All
   StringReplace v, v, Ü, Ü, All
   StringReplace v, v, &Yacute;, Ý, All
   StringReplace v, v, Ý, Ý, All
   StringReplace v, v, &THORN;, Þ, All
   StringReplace v, v, Þ, Þ, All
   StringReplace v, v, &szlig;, ß, All
   StringReplace v, v, ß, ß, All
   StringReplace v, v, &agrave;, à, All
   StringReplace v, v, à, à, All
   StringReplace v, v, &aacute;, á, All
   StringReplace v, v, á, á, All
   StringReplace v, v, &acirc;, â, All
   StringReplace v, v, â, â, All
   StringReplace v, v, &atilde;, ã, All
   StringReplace v, v, ã, ã, All
   StringReplace v, v, &auml;, ä, All
   StringReplace v, v, ä, ä, All
   StringReplace v, v, &aring;, å, All
   StringReplace v, v, å, å, All
   StringReplace v, v, &aelig;, æ, All
   StringReplace v, v, æ, æ, All
   StringReplace v, v, &ccedil;, ç, All
   StringReplace v, v, ç, ç, All
   StringReplace v, v, &egrave;, è, All
   StringReplace v, v, è, è, All
   StringReplace v, v, &eacute;, é, All
   StringReplace v, v, é, é, All
   StringReplace v, v, &ecirc;, ê, All
   StringReplace v, v, ê, ê, All
   StringReplace v, v, &euml;, ë, All
   StringReplace v, v, ë, ë, All
   StringReplace v, v, &igrave;, ì, All
   StringReplace v, v, ì, ì, All
   StringReplace v, v, &iacute;, í, All
   StringReplace v, v, í, í, All
   StringReplace v, v, &icirc;, î, All
   StringReplace v, v, î, î, All
   StringReplace v, v, &iuml;, ï, All
   StringReplace v, v, ï, ï, All
   StringReplace v, v, &eth;, ð, All
   StringReplace v, v, ð, ð, All
   StringReplace v, v, &ntilde;, ñ, All
   StringReplace v, v, ñ, ñ, All
   StringReplace v, v, &ograve;, ò, All
   StringReplace v, v, ò, ò, All
   StringReplace v, v, &oacute;, ó, All
   StringReplace v, v, ó, ó, All
   StringReplace v, v, &ocirc;, ô, All
   StringReplace v, v, ô, ô, All
   StringReplace v, v, &otilde;, õ, All
   StringReplace v, v, õ, õ, All
   StringReplace v, v, &ouml;, ö, All
   StringReplace v, v, ö, ö, All
   StringReplace v, v, &divide;, ÷, All
   StringReplace v, v, ÷, ÷, All
   StringReplace v, v, &oslash;, ø, All
   StringReplace v, v, ø, ø, All
   StringReplace v, v, &ugrave;, ù, All
   StringReplace v, v, ù, ù, All
   StringReplace v, v, &uacute;, ú, All
   StringReplace v, v, ú, ú, All
   StringReplace v, v, &ucirc;, û, All
   StringReplace v, v, û, û, All
   StringReplace v, v, &uuml;, ü, All
   StringReplace v, v, ü, ü, All
   StringReplace v, v, &yacute;, ý, All
   StringReplace v, v, ý, ý, All
   StringReplace v, v, &thorn;, þ, All
   StringReplace v, v, þ, þ, All
   StringReplace v, v, &yuml;, ÿ, All
   StringReplace v, v, ÿ, ÿ, All
   return v
}


ther ya go

_________________
★★★ Email me at berban at aim full stop com ★★★


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 28th, 2010, 7:34 pm 
Offline
User avatar

Joined: December 30th, 2009, 10:30 pm
Posts: 160
Location: Worcester, Massachusetts
haha wow yup that doesn't quite show up right IN A HTML WEB BROWSER... whatever

_________________
★★★ Email me at berban at aim full stop com ★★★


Report this post
Top
 Profile  
Reply with quote  
PostPosted: August 5th, 2010, 5:13 pm 
Offline

Joined: March 27th, 2008, 7:46 pm
Posts: 129
Location: France
Thank you SKAN and berban and this great language
.....
:?: AnyBody now to remove only: <script>....</script>
with RegEx ¿

_________________
with ahk, all is different!...<img>


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 5th, 2010, 8:45 pm 
(not tested)

Code:
var := RegExReplace(var, "s)\Q<script>\E(.*?)\Q</script>\E", "$1")


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 5th, 2010, 9:04 pm 
Offline

Joined: April 19th, 2005, 10:26 am
Posts: 2249
Location: switzerland
another example to remove <xy>
Code:
data = Current weather condition: <div class="h2">Partly Cloudy / Windy</div>
MsgBox, % RegExReplace( data, "<.*?>" )


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 6th, 2010, 6:29 pm 
Offline

Joined: March 27th, 2008, 7:46 pm
Posts: 129
Location: France
%guest% wrote:
(not tested)
Code:
var := RegExReplace(var, "s)\Q<script>\E(.*?)\Q</script>\E", "$1")

Tested and it's so kool,
note: the last parameter $1 is for keeping <script>$1</script>
and don't keep with
Code:
var := RegExReplace(var, "s)\Q<script>\E(.*?)\Q</script>\E", "")


and greats thanks garry for your good another example.
garry wrote:
another example to remove <xy>
Code:
data = Current weather condition: <div class="h2">Partly Cloudy / Windy</div>
MsgBox, % RegExReplace( data, "<.*?>" )

_________________
with ahk, all is different!...<img>


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 16th, 2010, 9:52 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
Update:

The previous version was removing 'number entities', if it were in hex.
The current updated version will replace them correctly.

Example:
The title tag for http://www.imdb.com/title/tt0068093/ is

<title>&#x22;Kung Fu&#x22; (1972)</title>

The entity number is in hex instead of &#34; or &quot;


Please use the update code.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 1st, 2010, 10:49 pm 
Offline

Joined: March 9th, 2009, 12:15 am
Posts: 28
Hi,
i get the following error:

Error at line 16.
Line Text: ;1
Error: The leftmost character above is illegal in an expression.

Line 16:
Code:
   L := "&amp;" A_LoopField C, R .= (!(A_Index&amp;1)) ? ( (!InStr(R,L,1)) ? L:"" ) : ""


Anyway, thanks Skan for all of your snippets - they are very useful!


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google Feedfetcher and 12 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group