C++: AHK source code: where is it located?

Discuss other programming languages besides AutoHotkey
User avatar
Posts: 5577
Joined: 19 Dec 2016, 01:58
Location: UK

C++: AHK source code: where is it located?

16 Nov 2018, 09:26

I have done a read-through of the AHK source code.

I have identified the locations of key parts of the source code in other threads:
AutoHotkey C++ Powerhouse: Introduction - AutoHotkey Community
https://autohotkey.com/boards/viewtopic ... 23&t=54394
C++ for AutoHotkey: list of command/function locations etc - AutoHotkey Community
https://autohotkey.com/boards/viewtopic ... 23&t=55399

But I have some queries. Thanks for any help. I am looking for:

point where (general):
- AHK starts [is it: AutoHotkey.cpp] [what is the first line of code executed?]
- AHK ends [is it: script.cpp: Script::TerminateApp]
- script parsed (e.g. commands/functions) [is it: script.cpp: Script::LoadFromFile]
- (what lines of code are running while the script is 'doing nothing')

point where (specific):
- hotkeys identified [is it: script.cpp: Script::LoadFromFile] [but more specifically]
- hex numbers identified (e.g. 0xFFFF)
- variable capacity doubled (e.g. when appending text)
- AHK objects binary lookup [are pre-existing C++ array types used at all?]

point where (I think I found it):
- ahk_XXX parsed [window.cpp: WindowSearch::SetCriteria]
- command-line arguments parsed [AutoHotkey.cpp: A_Args]
Posts: 369
Joined: 13 Aug 2016, 21:04
GitHub: iseahound

Re: C++: AHK source code: where is it located?

28 Nov 2018, 14:55

+1 I'd like to know this too. It would help when I take a look at the AHK source someday.
User avatar
Posts: 3696
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: C++: AHK source code: where is it located?

29 Nov 2018, 03:46

You can find the lookup at script_object.cpp:FindField
Recommends AHK Studio

Return to “Other Programming Languages”

Who is online

Users browsing this forum: No registered users and 2 guests