list of every command/function/variable from across all versions

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: list of every command/function/variable from across all versions

Re: list of every command/function/variable from across all versions

Post by jeeswg » 01 Nov 2017, 16:02

I don't really know much about the VB programming language, unless you mean VBA for Excel/Word?

One thing I could do is a list of useful MSDN links, combined with tips on how to get the values of constants for use with dll functions e.g. by checking inside .h files in C:\Program Files (x86)\Windows Kits\8.1, after installing Microsoft Visual Studio Express. Plus I could add links to various collections of constants/functions I've done e.g.
List of Windows Messages - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=7&t=39218

It would be good if you could expand on your post, so that I know what you mean. To summarise everything that Microsoft has ever done regarding programming does sound a little bit difficult though.

Re: list of every command/function/variable from across all versions

Post by Visioneer » 01 Nov 2017, 15:53

Hi jeeswg,

One thing I can think of would be extensive and organized exploitation of MS and VB websites. Think about how you got started.

Re: list of every command/function/variable from across all versions

Post by jeeswg » 28 Aug 2017, 14:41

Hi Visioneer, I would check this:
jeeswg's objects tutorial - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=7&t=29232
And if you think there's anything missing or that you'd like to see added in, then you can mention it there. I'll be making more changes to the post in the future. I'm not sure what you mean by COM vocabulary.

Re: list of every command/function/variable from across all versions

Post by Visioneer » 28 Aug 2017, 12:59

Hi jeeswg,
Great stuff.
I would love to see the COM vocabulary. Maybe with links to specific help.
Maybe as a prelude to a COM CHM/HTML file(s). Getting just the basic terms will be a job.

Thanks

Re: list of every command/function/variable from across all versions

Post by jeeswg » 01 Jun 2017, 20:28

INSTALLATION:

installation of AutoHotkey 'U32' v1.1.25.02 on Windows 7 64-bit:
installed via 'AutoHotkey_1.1.25.02_setup.exe', which is a 32-bit exe,
with 4 out of 4 options ticked:
(note: by default the first 3 options are ticked, and the 4th is not:)
- Install script compiler [Compile key, Ahk2Exe.exe key]
- Enable drag & drop [DropHandler key]
- Separate taskbar buttons [IsHostApp values]
- Add 'Run with UI Access' to context menus [uiAccess key]

==================================================

INSTALLATION (FOLDERS / FILES / REGISTRY KEYS):
['Installer.ahk' can provide clues on which files/folders are installed]

Code: [Select all] [Expand]GeSHi © Codebox Plus



==================================================

INSTALLATION (REGISTRY VALUES):
[generated via NirSoft RegFromApp (32-bit), run in Admin mode, monitoring temporary file 'setup.exe' (32-bit)]
[installed on a Windows 7 64-bit PC]

[all 4 options ticked:]

Code: [Select all] [Expand]GeSHi © Codebox Plus



[all 4 options unticked:]

Code: [Select all] [Expand]GeSHi © Codebox Plus



==================================================

INSTALLATION (NOTES):

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

==================================================

Re: list of every command/function/variable from across all versions

Post by jeeswg » 10 Apr 2017, 19:49

urls and webpage titles for urls within AutoHotkey Help pages:

Code: [Select all] [Expand]GeSHi © Codebox Plus



how to get urls (but not webpage titles) for urls within AutoHotkey Help pages:

Code: [Select all] [Expand]GeSHi © Codebox Plus

Re: list of every command/function/variable from across all versions

Post by jeeswg » 10 Apr 2017, 13:07

list of every AutoHotkey version number, from 2003 onwards:

Code: [Select all] [Expand]GeSHi © Codebox Plus



script to get list of every AutoHotkey version number:

Code: [Select all] [Expand]GeSHi © Codebox Plus

Re: list of every command/function/variable from across all versions

Post by jeeswg » 01 Apr 2017, 07:54

Code: [Select all] [Expand]GeSHi © Codebox Plus



Code: [Select all] [Expand]GeSHi © Codebox Plus

Re: list of every command/function/variable from across all versions

Post by jeeswg » 12 Feb 2017, 18:36

[updated: 2018-05-01]
[function index]
Alphabetical Command and Function Index
https://autohotkey.com/docs/commands/
Alphabetical Function Index
https://lexikos.github.io/v2/docs/commands/index.htm

[variable index]
Variables and Expressions
https://autohotkey.com/docs/Variables.htm#BuiltIn
Variables and Expressions
https://lexikos.github.io/v2/docs/Variables.htm#BuiltIn

[see also]
list of every object type/property/method - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=37&t=44081
List of commands that affect ErrorLevel - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=5&t=46581&p=213522#p213522
GUI - Complete Command & Property Listing - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=5&t=46420&p=213529#p213529
AutoHotkey syntax lists (text files) - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=74&t=47603

Code: [Select all] [Expand]GeSHi © Codebox Plus



Code: [Select all] [Expand]GeSHi © Codebox Plus

Re: list of every command/function/variable from across all versions

Post by guest3456 » 10 Feb 2017, 14:22

jeeswg wrote:@guest3456
Wow is that a capital letter there! Thanks very much.


Haha, I'm experimenting with Sticky Shift which is much easier to use

Re: list of every command/function/variable from across all versions

Post by jeeswg » 09 Feb 2017, 13:30

code for checking command/function existence:

Code: [Select all] [Expand]GeSHi © Codebox Plus



Code: [Select all] [Expand]GeSHi © Codebox Plus



@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!

Re: list of every command/function/variable from across all versions

Post by Helgef » 09 Feb 2017, 13:25

jeeswg wrote:@Helgef
Good idea, I had intended to do that, and have now.

Your work has been credited and appreciated, see this. I hope we didn't do the same work simultaneously :crazy: :lol:

Re: list of every command/function/variable from across all versions

Post by jeeswg » 09 Feb 2017, 13:11

@nnnik
The 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 original
text 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.

@tidbit
AutoTrim 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?

@Helgef
Good 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.

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

@Guest
Thank 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.

Re: list of every command/function/variable from across all versions

Post by jeeswg » 09 Feb 2017, 13:01

Code: [Select all] [Expand]GeSHi © Codebox Plus

Re: list of every command/function/variable from across all versions

Post by Guest » 07 Feb 2017, 06:14

Reminder: https://github.com/ahkscript/AutoHotkey-Editors (not maintained at the moment and has some "issues")

Re: list of every command/function/variable from across all versions

Post by jeeswg » 06 Feb 2017, 19:27

Hahaha no problem. I noticed you went offline just before I posted it, which is typically how these things work!

Re: list of every command/function/variable from across all versions

Post by Helgef » 06 Feb 2017, 19:25

jeeswg wrote:Syntax text from AutoHotkey.chm v.1.1.24.04:

:bravo: Thank you very much!

Re: list of every command/function/variable from across all versions

Post by jeeswg » 06 Feb 2017, 18:54

See also, this script by Helgef:
[Hotstrings] Expand parameters for AHK's functions, commands and directives. - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=60&t=27882

Script to get syntax text from AutoHotkey.chm (decompiled) htms, or htms from GitHub:

Code: [Select all] [Expand]GeSHi © Codebox Plus



==================================================

Note: RegEx <.+> versus <.+?>:
Regular Expressions (RegEx) - Quick Reference
https://autohotkey.com/docs/misc/RegEx-QuickRef.htm

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>.

==================================================

[EDIT:][updates here]
commands as functions (AHK v2 functions for AHK v1) - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=37&t=29689&p=139582#p139582
syntax text from htm files for AutoHotkey v1.1.25.01
syntax text from htm files for AutoHotkey v2.0-a078-e25d96b

Syntax text from AutoHotkey.chm v1.1.24.04:

Code: [Select all] [Expand]GeSHi © Codebox Plus

Re: list of every command/function/variable from across all versions

Post by Helgef » 06 Feb 2017, 11:31

@jeeswg, while your at it ( ;) ), could you supply a list with commands/functions with their respective parameters (including commas and optional brackets and default parameter values, if any), eg,

Code: [Select all]GeSHi © Codebox Plus

WinSet, Attribute, Value [, WinTitle, WinText,  ExcludeTitle, ExcludeText]

I would like to make hotstrings like this,

Code: [Select all]GeSHi © Codebox Plus

#Hotstring EndChars `t
:O:WinSet::WinSet, Attribute, Value [, WinTitle, WinText, ExcludeTitle, ExcludeText]
; [...]

Cheers!

Top