I made it at least a bit readeable.Also v2 changes said: "All commands can now be called as functions, except for control flow statements such as Return"So I don't know why you have a seperate command and function category down there.Also everything that starts with a Hashtag is not a command but a preprocessor directive.

Greed: By default, *, ?, +, and {min,max} are greedy because they consume all characters up through the last possible one that still satisfies the entire pattern. To instead have them stop at the first possible character, follow them with a question mark. For example, the pattern <.+> (which lacks a question mark) means: "search for a <, followed by one or more of any character, followed by a >". To stop this pattern from matching the entire string <em>text</em>, append a question mark to the plus sign: <.+?>. This causes the match to stop at the first '>' and thus it matches only the first tag <em>.

;note: my Commands As Functions project, has shifted objective slightly,;it now aims to clone the following functions listed below (to make them available for AHK v1):;- functions (new to AHK v2 alpha) (were formerly commands in AHK v1.0, now also available as functions) (COMMANDS AS FUNCTIONS);- functions (new to AHK v2 alpha) (were formerly commands in AHK v1.1, now also available as functions) (COMMANDS AS FUNCTIONS);- functions (new to AHK v2 alpha) (COMMANDS AS FUNCTIONS);and possibly add some bonus functions prefixed with 'JEE_' rather than 'CF_'

;functions (new to AHK v1.0) (all of them work in AHK v1.1)AbsACosAscASinATanCeilChrCosDllCallExpFileExistFloorGetKeyStateIL_AddIL_CreateIL_DestroyInStrIsFuncIsLabelLnLogLV_AddLV_DeleteLV_DeleteColLV_GetCountLV_GetNextLV_GetTextLV_InsertLV_InsertColLV_ModifyLV_ModifyColLV_SetImageListModNumGetNumPutOnMessageRegExMatchRegExReplaceRegisterCallbackRoundSB_SetIconSB_SetPartsSB_SetTextSinSqrtStrLenSubStrTanTV_AddTV_DeleteTV_GetTV_GetChildTV_GetCountTV_GetNextTV_GetParentTV_GetPrevTV_GetSelectionTV_GetTextTV_ModifyVarSetCapacityWinActiveWinExist

@nnnikThe new post above includes information regarding:"All commands can now be called as functions, except for control flow statements such as Return"You are right about commands v. directives, the issue was simply that the originaltext files I began with lumped them together.(Although one could say that syntax-wise, directives are essentially command-like.)I will list them separately, when I produce an updated list.You arranged the code very nicely, and I learnt some useful tags there, thank you.I will also add a version in code tags for copy and paste, at the bottom of the first post.

@tidbitAutoTrim is there, I separated commands by when they were first introduced,hence some possible confusion.I'll have to look into '__Call, __Delete, __Get, __New, __Set'what name would you give those, methods?

@HelgefGood idea, I had intended to do that, and have now.I think it's useful also to provide the *code* as I did,so that people can update them when needed.

@guest3456Wow is that a capital letter there! Thanks very much.

@GuestThank you, I knew that some syntax lists had been produced somewhere,those may be the ones I was looking for.I wanted to use them as a double-check.

@Helgef, thank you. Don't worry about duplication, anything major I always do a good check for example code first. Plus I often like to understand and rewrite things for myself anyway.Wow, 1000 posts is coming up!

;note:;'2LB ___' means present as a function in the most recent version of AHK v2 alpha(2)/v1.1(L)/v1.0(B);'___ 2LB' means present as a command in the most recent version of AHK v2 alpha(2)/v1.1(L)/v1.0(B)

;note:;not in list below: 'if var between/contains/in/is type'

;note:;I have not found a reliable way to check;if a word is a command

;types of 'command' etc:;command;control flow statement (many are typically written in lowercase in scripts);directive;function;variable

;AHK v1.1 script;q:: ;AutoHotkey Help - get treeview info via objects (with/without hierarchy);(get treeview contents from decompiled AutoHotkey.chm;and a list of urls not in the treeview);==========;options:;set this option to show 3 columns (including a hierarchy column);or just two columns: title and urlvShowHierarchy :=1;include [DIR] prefix where appropriatevShowPrefixDir :=1;prepend 'https://autohotkey.com/' to each urlvShowPrefixUrl :=1;dir that the chm has been decompiled tovDirHelp = %A_Desktop%\AutoHotkey_1.1.25.01\AutoHotkey

0.205 BETA - November 10,20030.206 BETA - November 11,20030.207 BETA - November 12,20030.208 BETA - November 17,20030.209 BETA - November 19,20030.210 BETA - November 19,20030.211 BETA - December 1,20030.212 BETA - December 8,20030.213 BETA - December 15,20030.214 BETA - December 16,20030.215 BETA - December 18,20030.216 BETA - December 29,20030.217 BETA - January 5,20040.218 BETA - January 7,20040.219 BETA - January 12,20040.2.20 BETA - January 21,20040.2.21 BETA - January 26,20040.2.22 BETA - January 30,20040.2.23 BETA - January 31,20040.2.24 BETA - February 1,20040.2.25 BETA - February 9,20041.0.00 FINAL - February 16,20041.0.01 - February 24,20041.0.02 - February 26,20041.0.03 - March 1,20041.0.04 - March 6,20041.0.05 - March 15,20041.0.06 - March 25,20041.0.07 - April 2,20041.0.08 - April 15,20041.0.09 - April 27,20041.0.10 - May 11,20041.0.11 - May 25,20041.0.12 - June 1,20041.0.13 - June 10,20041.0.14 - June 17,20041.0.15 - June 29,20041.0.16 - July 15,20041.0.17 - August 9,20041.0.18 - August 19,20041.0.19 - September 16,20041.0.20 - September 30,20041.0.21 - October 12,20041.0.22 - October 26,20041.0.23 - November 9,20041.0.24 - December 9,20041.0.25 - January 12,20051.0.25.05 - January 19,20051.0.25.06 - January 23,20051.0.25.07 - January 24,20051.0.25.08 - January 25,20051.0.25.09 - January 28,20051.0.25.10 - January 30,20051.0.25.11 - January 31,20051.0.25.12 - February 2,20051.0.25.13 - February 4,20051.0.25.14 - February 5,20051.0.26 - February 10,20051.0.26.01 - February 11,20051.0.27 - February 15,20051.0.27.01 - February 17,20051.0.28 - February 22,20051.0.28.01 - February 23,20051.0.29 - February 28,20051.0.30 - March 5,20051.0.30.01 - March 7,20051.0.30.02 - March 8,20051.0.30.03 - March 12,20051.0.30.04 - March 14,20051.0.31 - April 8,20051.0.31.01 - April 11,20051.0.31.02 - April 13,20051.0.31.03 - April 14,20051.0.31.04 - April 15,20051.0.31.05 - April 19,20051.0.31.06 - April 27,20051.0.31.07 - April 29,20051.0.32 - May 5,20051.0.33 - May 13,20051.0.33.01 - May 17,20051.0.34 - May 25,20051.0.35 - June 1,20051.0.35.01 - June 3,20051.0.35.02 - June 3,20051.0.35.03 - June 4,20051.0.35.04 - June 5,20051.0.35.05 - June 6,20051.0.35.06 - June 8,20051.0.35.07 - June 8,20051.0.35.08 - June 9,20051.0.35.09 - June 10,20051.0.35.10 - June 12,20051.0.35.11 - June 16,20051.0.35.12 - June 18,20051.0.35.13 - June 19,20051.0.35.14 - June 20,20051.0.35.15 - June 20,20051.0.35.16 - June 20,20051.0.36 - June 27,20051.0.36.01 - June 28,20051.0.36.02 - July 3,20051.0.36.03 - July 6,20051.0.36.04 - July 7,20051.0.36.05 - July 9,20051.0.36.06 - July 12,20051.0.36.07 - July 18,20051.0.37 - July 21,20051.0.37.01 - July 22,20051.0.37.02 - July 25,20051.0.37.03 - July 30,20051.0.37.04 - July 30,20051.0.37.05 - August 16,20051.0.37.06 - August 21,20051.0.37.07 - August 27,20051.0.38 - September 3,20051.0.38.01 - September 5,20051.0.38.02 - September 8,20051.0.38.03 - September 12,20051.0.38.04 - September 21,20051.0.38.05 - September 23,20051.0.38.06 - September 27,20051.0.39 - October 3,20051.0.40 - October 11,20051.0.40.01 - October 21,20051.0.40.02 - October 24,20051.0.40.03 - October 26,20051.0.40.04 - November 2,20051.0.40.05 - November 4,20051.0.40.06 - November 10,20051.0.40.07 - November 16,20051.0.40.08 - November 16,20051.0.40.09 - November 21,20051.0.40.10 - December 1,20051.0.40.11 - December 12,20051.0.40.12 - January 11,20061.0.41 - January 19,20061.0.41.01 - January 31,20061.0.41.02 - February 1,20061.0.42 - February 10,20061.0.42.01 - February 15,20061.0.42.02 - February 17,20061.0.42.03 - February 20,20061.0.42.04 - March 6,20061.0.42.05 - March 6,20061.0.42.06 - March 7,20061.0.42.07 - March 9,20061.0.43 - March 25,20061.0.43.01 - March 29,20061.0.43.02 - March 30,20061.0.43.03 - April 3,20061.0.43.04 - April 4,20061.0.43.05 - April 7,20061.0.43.06 - April 9,20061.0.43.07 - April 12,20061.0.43.08 - April 17,20061.0.43.09 - April 25,20061.0.43.10 - April 28,20061.0.43.11 - May 1,20061.0.44 - May 14,20061.0.44.01 - May 15,20061.0.44.02 - May 20,20061.0.44.03 - May 29,20061.0.44.04 - May 31,20061.0.44.05 - June 7,20061.0.44.06 - June 8,20061.0.44.07 - June 17,20061.0.44.08 - July 25,20061.0.44.09 - August 9,20061.0.44.10 - August 27,20061.0.44.11 - September 9,20061.0.44.12 - September 13,20061.0.44.13 - September 20,20061.0.44.14 - October 2,20061.0.45 - November 4,20061.0.45.01 - November 7,20061.0.45.02 - November 8,20061.0.45.03 - November 12,20061.0.45.04 - November 15,20061.0.46 - November 29,20061.0.46.01 - December 15,20061.0.46.02 - December 17,20061.0.46.03 - December 18,20061.0.46.04 - January 2,20071.0.46.05 - January 4,20071.0.46.06 - January 16,20071.0.46.07 - January 23,20071.0.46.08 - February 7,20071.0.46.09 - March 4,20071.0.46.10 - March 22,20071.0.46.11 - April 23,20071.0.46.12 - April 24,20071.0.46.13 - May 1,20071.0.46.14 - May 2,20071.0.46.15 - May 9,20071.0.46.16 - May 30,20071.0.46.17 - May 31,20071.0.47 - June 19,20071.0.47.01 - July 8,20071.0.47.02 - July 19,20071.0.47.03 - August 1,20071.0.47.04 - August 28,20071.0.47.05 - November 21,20071.0.47.06 - March 9,20081.0.48 - February 25,20091.0.48.01 - April 15,20091.0.48.02 - April 19,20091.0.48.03 - May 3,20091.0.48.04 - September 25,20091.0.48.05 - September 25,2009

Revision 4- July 18,2008Revision 5- July 19,2008Revision 7- July 26,2008Revision 8- July 27,2008Revision 9- July 29,2008Revision 10- August 2,2008Revision 11- September 5,2008Revision 12- September 6,2008Revision 13- November 29,2008Revision 14- February 1,2009Revision 15- February 1,2009Revision 16- February 4,2009Revision 17- February 20,2009Revision 18- February 21,2009Revision 19- February 26,2009Revision 20- February 27,2009Revision 21- March 16,2009Revision 22- March 26,2009Revision 23- March 30,2009Revision 24- March 30,2009Revision 25- March 30,2009Revision 26- April 11,2009Revision 27- April 26,2009Revision 28- May 2,2009Revision 29- May 2,2009Revision 30- May 31,2009Revision 31- September 26,2009Revision 32- September 26,2009Revision 33- October 3,2009Revision 34- October 24,2009Revision 35- October 25,2009Revision 36- November 4,2009Revision 37- November 7,2009Revision 38- November 17,2009Revision 39- December 2,2009Revision 40- December 13,2009Revision 41- December 20,2009Revision 42- January 28,2010Revision 43- January 29,2010Revision 44- February 7,2010Revision 45- February 8,2010Revision 46- February 11,2010Revision 47- February 13,2010Revision 48- February 21,2010Revision 49- March 14,2010Revision 50- March 27,2010Revision 51- April 11,2010Revision 52- June 12,2010Revision 52(again)- July 10,2010Revision 53- August 8,2010Revision 54- August 15,2010Revision 55- August 19,2010Revision 56- August 29,2010Revision 57- September 4,2010Revision 58- September 5,2010Revision 59- September 12,2010Revision 60- September 24,2010Revision 61- October 3,20101.0.90.00 - November 27,20101.0.91.00 - December 21,20101.0.91.01 - December 24,20101.0.91.02 - December 26,20101.0.91.03 - December 27,20101.0.91.04 - December 29,20101.0.91.05 - January 1,20111.0.92.00 - January 13,20111.0.92.01 - January 18,20111.0.92.02 - January 19,20111.0.95.00 - March 12,20111.0.96.00 - March 21,20111.0.97.00 - March 28,20111.0.97.01 - April 2,20111.0.97.02 - April 14,20111.1.00.00 - May 1,20111.1.00.01 - July 17,20111.1.01.00 - July 30,20111.1.02.00 - August 6,20111.1.02.01 - August 13,20111.1.02.02 - August 20,20111.1.02.03 - August 21,20111.1.03.00 - August 28,20111.1.04.00 - September 11,20111.1.04.01 - September 15,20111.1.05.00 - October 8,20111.1.05.01 - October 16,20111.1.05.02 - November 20,20111.1.05.03 - November 30,20111.1.05.04 - December 5,20111.1.05.05 - December 17,20111.1.05.06 - December 31,20111.1.06.00 - February 12,20121.1.06.01 - February 12,20121.1.06.02 - February 13,20121.1.07.00 - February 27,20121.1.07.01 - March 2,20121.1.07.02 - March 22,20121.1.07.03 - March 25,20121.1.08.00 - July 14,20121.1.08.01 - August 3,20121.1.09.00 - November 7,20121.1.09.01 - December 15,20121.1.09.02 - December 24,20121.1.09.03 - February 9,20131.1.09.04 - March 14,20131.1.10.00 - May 11,20131.1.10.01 - May 17,20131.1.11.00 - June 21,20131.1.11.01 - June 25,20131.1.11.02 - July 28,20131.1.12.00 - August 14,20131.1.13.00 - August 27,20131.1.13.01 - October 11,20131.1.14.00 - January 15,20141.1.14.01 - January 15,20141.1.14.02 - January 30,20141.1.14.03 - February 14,20141.1.14.04 - April 25,20141.1.15.00 - May 4,20141.1.15.01 - June 30,20141.1.15.02 - July 7,20141.1.15.03 - August 2,20141.1.15.04 - August 12,20141.1.16.01 - September 10,20141.1.16.02 - September 11,20141.1.16.03 - September 11,20141.1.16.04 - September 16,20141.1.16.05 - September 28,20141.1.17.00 - December 27,20141.1.17.01 - December 28,20141.1.18.00 - December 30,20141.1.19.00 - January 4,20151.1.19.01 - January 5,20151.1.19.02 - January 25,20151.1.19.03 - February 11,20151.1.20.00 - March 8,20151.1.20.01 - March 10,20151.1.20.02 - March 11,20151.1.20.03 - March 21,20151.1.21.00 - March 28,20151.1.21.01 - April 3,20151.1.21.02 - April 4,20151.1.21.03 - April 12,20151.1.22.00 - May 1,20151.1.22.01 - May 24,20151.1.22.02 - May 27,20151.1.22.03 - July 12,20151.1.22.04 - August 19,20151.1.22.05 - September 10,20151.1.22.06 - September 13,20151.1.22.07 - September 27,20151.1.22.08 - November 11,20151.1.22.09 - November 11,20151.1.23.00 - January 16,20161.1.23.01 - January 24,20161.1.23.02 - March 12,20161.1.23.03 - March 12,20161.1.23.04 - March 26,20161.1.23.05 - March 27,20161.1.23.06 - May 15,20161.1.23.07 - May 20,20161.1.24.00 - May 22,20161.1.24.01 - August 2,20161.1.24.02 - October 13,20161.1.24.03 - November 19,20161.1.24.04 - December 17,20161.1.24.05 - February 3,20171.1.25.00 - March 4,20171.1.25.01 - March 5,2017

urls and webpage titles for urls within the AutoHotkey.chm v.1.1.25.01 help pages:

note on a problem MSDN url:replace this:http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/structures/notifyicondata.aspwith this:http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/structures/notifyicondata.aspbefore trying it in Internet Archive

note on 4 problem AutoHotkey urls:[not the webpage titles, but information from the changelog]Fixed: RunAs in Unicode build.[jackieku]http://www.autohotkey.com/forum/viewtopic.php?p=372973#372973Fixed: RegisterCallback in x64 build.[fincs]http://www.autohotkey.com/forum/viewtopic.php?p=374773#374773Fixed: Dialogs such as MsgBox became unresponsive when interrupted by another script thread. Message filter/workaround added in L45 had to be removed.[Bug report]http://www.autohotkey.com/forum/viewtopic.php?p=358029#358029Fixed: Multi-byte characters in default ANSI codepage; this was also causing a memory leak.[Bug report]http://www.autohotkey.com/forum/viewtopic.php?p=375342#375342

When the installer says:'AutoHotkey v1.1.25.02 (Unicode 32-bit) is installed. What do you want to do?'- 'v1.1.25.02' is based on the Version key in:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\AutoHotkey- 'Unicode 32-bit' is based on 'AutoHotkey.exe', if it is found, within the folder specified in the InstallDir key in:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\AutoHotkey

information in 'Control Panel\Programs\Programs and Features' is based on:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\AutoHotkey

The drop handler class, {86C86720-42A0-1069-A2E8-08002B30309D}, is the same one used by various other filetypes including batch files:HKEY_LOCAL_MACHINE\SOFTWARE\Classes\batfile\ShellEx\DropHandler