Search found 160 matches
- 14 Jun 2022, 12:24
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chart using Gdiplus
- Replies: 22
- Views: 5127
Re: [Library] Chart using Gdiplus
Very impressive. I will learn a lot from your coding. Thank you.
- 18 Dec 2020, 08:27
- Forum: Scripts and Functions (v1)
- Topic: Using AHK for large scale software development
- Replies: 14
- Views: 3065
Re: Using AHK for large scale software development
Impressive. You must have a strong background in programming. I have written assembly code and some C but I have learned most of what I know from AHK. I'm basically a hack with no formal training. I can learn a lot from looking at your code. I love classes but I can tell from your work that I have a...
- 16 Nov 2020, 11:03
- Forum: Ask for Help (v1)
- Topic: RegisterShellHookWindow
- Replies: 3
- Views: 731
Re: RegisterShellHookWindow
Thanks mikeyww. That is essentially the same as what I am using. It works great on all but one machine I have. Even on the recalcitrant machine, it works most of the time. I'm interested in what others think about the reliability, things that can possibly interfere with it, and what people think abo...
- 16 Nov 2020, 10:53
- Forum: Ask for Help (v1)
- Topic: RegisterShellHookWindow
- Replies: 3
- Views: 731
RegisterShellHookWindow
Hi, I use RegisterShellHookWindow in my script and noticed that on one PC it tends to disconnect itself and I need to Deregister and renew the hook on a regular basis. I use it to launch helper scripts that are written for specific applications like Excel. Doing some searching I found a warning. The...
- 14 Nov 2020, 12:45
- Forum: Scripts and Functions (v1)
- Topic: HexView 3.11 by majkinetor
- Replies: 7
- Views: 5077
Re: HexView 3.11 by majkinetor
Just an observation. This code writes to the registry to store its configuration. Maybe it is just one of my hangups, but I really don't like scripts that mess with the registry and if they do, I want an announcement that it is about to do so. Call me old fashioned, but I much prefer ini files so th...
- 25 Sep 2020, 12:12
- Forum: Scripts and Functions (v1)
- Topic: NotifyTrayClick() : Notifies when AHK tray icon is clicked
- Replies: 12
- Views: 3876
Re: NotifyTrayClick() : Notifies when AHK tray icon is clicked
Skan, I've been playing with your function and I noticed a couple of things. One was that it sets the host script to Critical ON because the initial call is not a new thread as is the OnMessage call. Moving the 'Critical' statement to after the initialization fixed that. Also, each value of NM, i.e....
- 02 Sep 2020, 11:13
- Forum: Scripts and Functions (v1)
- Topic: [Class] permutations.ahk
- Replies: 6
- Views: 1658
Re: [Class] permutations.ahk
Chunjee,
Can this be altered to give all possible permutations taking a out of b where a < b and b is the length of the input?
Relayer
Can this be altered to give all possible permutations taking a out of b where a < b and b is the length of the input?
Relayer
- 26 Aug 2020, 14:03
- Forum: Ask for Help (v1)
- Topic: Only trigger a function in the last iteration of a forEach loop
- Replies: 19
- Views: 1408
Re: Only trigger a function in the last iteration of a forEach loop
Depending on they type of object something like this will work"
Relayer
Code: Select all
for k, v in object
{
do something
if (A_Index = object.Length())
call function
}
- 21 Aug 2020, 07:43
- Forum: Scripts and Functions (v1)
- Topic: Laminar 1.0 - flow chart creator
- Replies: 4
- Views: 1101
Re: Laminar 1.0 - flow chart creator
wbm1113 wrote:
That's pretty complex programming you've done!
Relayer
I'm not very good with computers
That's pretty complex programming you've done!
Relayer
- 01 Aug 2020, 19:51
- Forum: Scripts and Functions (v1)
- Topic: [Script] Quick Picto Viewer v5+
- Replies: 260
- Views: 83900
Re: [Script] Quick Picto Viewer and Fast Slideshow creator
robodesign,
I downloaded v4.4.2 from github and tried to run it and got a no such function error for 'ahkthread'.
Relayer
I downloaded v4.4.2 from github and tried to run it and got a no such function error for 'ahkthread'.
Relayer
- 21 Feb 2020, 10:09
- Forum: Scripts and Functions (v1)
- Topic: Optical character recognition (OCR) with UWP API
- Replies: 157
- Views: 64606
Re: Optical character recognition (OCR) with UWP API
Of course results will vary depending on the input image but I did a side-by-side comparison on a scanned legal document with Tesseract that uses an image preprocessed with Letptonica. I fed the raw image and the preprocessed version to this script. Both Tesseract and this script make mistakes in di...
- 11 Feb 2020, 10:54
- Forum: Scripts and Functions (v1)
- Topic: [Library] Lite sqlite3 wrapper library
- Replies: 2
- Views: 1232
Re: [Library] Lite sqlite3 wrapper library
Hi, It appears the caller can pass a value to sqlite3_exec in the 4th parameter position that will then be returned as the 1st parameter of the callback. I think we can use this to eliminate the need for a global. Relayer class SQLiteObj { __New(Path_SQLDLL, Path_DB) { if FileExist(Path_SQLDLL)="" {...
- 15 Jan 2020, 11:13
- Forum: Scripts and Functions (v1)
- Topic: Multiline .INI strings
- Replies: 6
- Views: 2325
Re: Multiline .INI strings
I simply replace carriage returns with "<CR>" and the equal sign with "<EQ>" going in and coming out of the ini file.
- 25 Oct 2019, 07:29
- Forum: Ask for Help (v1)
- Topic: __Set, __Get... don't know if this is intended?
- Replies: 3
- Views: 612
Re: __Set, __Get... don't know if this is intended?
Thanks Helgef, that mostly clears things up. So, can I assume that this is an appropriate way to use the meta functions? In other words, will using them this way be safe long term (in V1... not talking about V2)? Although I kind of tripped on this behavior by accident, it works nicely for what I wan...
- 24 Oct 2019, 13:52
- Forum: Ask for Help (v1)
- Topic: __Set, __Get... don't know if this is intended?
- Replies: 3
- Views: 612
__Set, __Get... don't know if this is intended?
Interesting observation here. I typically put tests in the front end of __Set and __Get to manage what I want them to process or not, otherwise I use the ObjRawSet and ObjRawGet to avoid invoking __Set and __Get. Well, I tripped upon another method of controlling when set and get get called but I'm ...
- 05 Sep 2019, 15:24
- Forum: Scripts and Functions (v1)
- Topic: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation
- Replies: 52
- Views: 41961
Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation
Hi, I've been interested in this for a while and finally played with it a little. Has anyone else seen a problem where dynamic variable insertion into regular variables or built-in functions produces an error at run time: "empty variable reference"? Looking at the RMESS file I can see what the subst...
- 23 Aug 2019, 12:56
- Forum: Scripts and Functions (v1)
- Topic: [Class] string-similarity.ahk
- Replies: 30
- Views: 11071
Re: [Library] string-similarity.ahk
Pardon MY ignorance... Can anyone speak to whether there are different algorithms to assess similarity depending on what you are trying to accomplish? I can envision that depending on the context of the problem, you may want to weight the various attributes the calculation tries to embody. For examp...
- 30 Apr 2019, 08:36
- Forum: Announcements
- Topic: Test build - InputHook, long paths, switch-case
- Replies: 30
- Views: 24797
Re: Test build - InputHook, long paths, switch-case
All, I am simply grateful for any effort Lexikos puts into either version. I use v1 but understand the importance of v2 if AHK is to have a future. It requires incredible attention to detail to create code that functions well. There are many things we all *should* do but motivation is a strange thin...
- 06 Jan 2019, 09:17
- Forum: Scripts and Functions (v1)
- Topic: Excel Enum Constants Search
- Replies: 13
- Views: 4552
Re: Excel Enum Constants Search
Hi, I had a similar problem with long initialization at startup with Capn Odin's trie class ( https://www.autohotkey.com/boards/viewtopic.php?t=35837 ) loading a whole English dictionary. I broke the dictionary into 26 files alphabetically, created an array of file names, and maintained an array of ...
- 06 Dec 2018, 15:56
- Forum: Wish List
- Topic: Nested comment blocks using /* */
- Replies: 0
- Views: 1337
Nested comment blocks using /* */
I have noticed that AHK doesn't handle comment blocks in the same way it handles other opening/closing punctuation like parentheses and brackets. In other words, it seems not to count the occurrence of opening '/*' and consider everything a comment until encountering an equal number of '*/". I often...