Search found 18 matches

by 2_05
20 Oct 2020, 12:00
Forum: Ask For Help
Topic: Hotkeys stop working after some time with 32-bit AHK on 64bit OS
Replies: 10
Views: 286

Re: Hotkeys stop working after some time with 32-bit AHK on 64bit OS

I have identified why the hotkeys stop working despite the use of #IfTimeout (with AHK 32-bit). I have found that some applications (not ahk script) on my computer can sporadically cause keyboard delay, even when these applications do not have focus. Even though the other application is responsible ...
by 2_05
19 Oct 2020, 06:26
Forum: Ask For Help
Topic: Hotkeys stop working after some time with 32-bit AHK on 64bit OS
Replies: 10
Views: 286

Re: Hotkeys stop working after some time with 32-bit AHK on 64bit OS

Thank you for your comprehensive answer swagfag . It provides a lot of clarity. Very informative to see what suspend is doing behind the scenes. If I understand it correctly: Windows 10 treats 32-bit applications differently than 64-bit applications when it comes to slow hotkey response. It is uncle...
by 2_05
18 Oct 2020, 05:37
Forum: Ask For Help
Topic: Hotkeys stop working after some time with 32-bit AHK on 64bit OS
Replies: 10
Views: 286

Re: Hotkeys stop working after some time

Thanks for confirming. I know the script looks silly. I do not have a problem with missing hotkeys. I wrote it like this because I'm trying to understand why there is a difference with AHK 32-bit and AHK 64-bit. The problem as you've also seen is that the script cannot count past 15 or so with AHK 3...
by 2_05
17 Oct 2020, 09:26
Forum: Ask For Help
Topic: Hotkeys stop working after some time with 32-bit AHK on 64bit OS
Replies: 10
Views: 286

Re: Hotkeys stop working after some time

Ran a few more tests. Rebooted in safe mode: Problem still occurs Full memory test: No issues found Then did a reinstall of Autohotkey. Both my computers are x64 - AHK installed as 64-bit AHK. No issues with the script I posted above. - AHK installed as 32-bit AHK. Issues on both my computers. I'm f...
by 2_05
17 Oct 2020, 02:08
Forum: Ask For Help
Topic: Hotkeys stop working after some time with 32-bit AHK on 64bit OS
Replies: 10
Views: 286

Re: Hotkeys stop working after some time

I did a test with a different computer and I can not reproduce it there. Looks like it is some problem with my laptop but what could it be? On my laptop the hotkeys will stop working within 20 Ctrl presses. The presses can be 1s apart so missed presses is not an issue. After hotkeys stop working the...
by 2_05
16 Oct 2020, 15:56
Forum: Ask For Help
Topic: Hotkeys stop working after some time with 32-bit AHK on 64bit OS
Replies: 10
Views: 286

Hotkeys stop working after some time with 32-bit AHK on 64bit OS

I have a script that was working fine on Windows 7, but since switching to a new laptop with Windows 10 quite some time ago the hotkeys stop working after some time and I have to restart the script. I found that with the script below I can trigger the issue. On my laptop hotkeys will stop working wi...
by 2_05
06 Oct 2020, 13:21
Forum: Wish List
Topic: Extra functionality for Timeouts and Threads
Replies: 0
Views: 86

Extra functionality for Timeouts and Threads

I've been having some issues with my script not responding to hotkeys anymore. It seems like the system stops calling the script's keyboard hook. Having some Callbacks that are often fired and dynamic hotkey assignments that could prevent execution of #If Execution it is not evident where I need to ...
by 2_05
06 Oct 2020, 09:57
Forum: Suggestions on documentation improvements
Topic: Undocumented behaviour of Critical state in #If Expressions
Replies: 1
Views: 226

Undocumented behaviour of Critical state in #If Expressions

I was running some tests on setting priority for functions called by #If [Expression] . I then noted that #If Expressions are already executed with priority. I cannot find this anything on this in the documentation of Critical or #If . It makes sense that #If expressions have priority by default but...
by 2_05
15 Sep 2020, 09:25
Forum: Ask For Help
Topic: Help with new #Warn unreachable
Replies: 1
Views: 91

Help with new #Warn unreachable

After downloading AHK 1.1.33.02 (coming from 1.1.32.00) I get an unreachable warning on SetTitleMatchMode lines in the following script. ; Autoexecute section here return SetTitleMatchMode, 3 #If WinActive(A) #E:: funa() #If SetTitleMatchMode, 1 #If WinActive(B) #E:: funb() #If I tried moving the re...
by 2_05
03 Nov 2018, 02:16
Forum: Forum Issues
Topic: Fixing codeboxes
Replies: 106
Views: 29179

Re: Fixing codeboxes

Does that mean that once the "codebox" tag is what we want, it is moved to the "code" tag, or is "codebox" now the new default tag for code? The "code" tag is still missing indentation. I'd vote for updating the "code" tag at some point as things like indentation are affecting the readeability of a ...
by 2_05
31 Oct 2018, 12:28
Forum: Bug Reports
Topic: Finally with function call with string concatenation Topic is solved
Replies: 1
Views: 1186

Finally with function call with string concatenation Topic is solved

I have trouble with a function I expect to return false in AhkVersion 1.1.30.00 The function has a finally statement with a function call concatenating a variable and a string. Instead of false, the function returns the input value of the function call statement. It seems to me like a bug as the wor...
by 2_05
19 Sep 2018, 01:03
Forum: Suggestions on documentation improvements
Topic: Suggestions on documentation improvements
Replies: 688
Views: 224568

Re: Suggestions on documentation improvements

The documentation on #Include refers to an old topic on joining scripts. I don't see how the referred topic solves the problem of not being able to merge two isolated scripts together. To me, isolated means not containing #includes to each other. From what I understand the Join script only merges #i...
by 2_05
19 Sep 2018, 00:39
Forum: Wish List
Topic: Thread global variables and thread ID
Replies: 7
Views: 3633

Re: Thread global variables and thread ID

I would consider it a valuable tool and when implemented users can choose to use it or not.
I think maintenance wise thread globals would be similar to normal globals. As with the normal global variables, it is important to name variables in a way that makes it clear the variable is not local.
by 2_05
19 Sep 2018, 00:30
Forum: Suggestions on documentation improvements
Topic: Suggestions on documentation improvements
Replies: 688
Views: 224568

Re: Suggestions on documentation improvements

I have struggled with WinWait to wait for WinText to change in a window, so the text in the window was "Text A' when the window came into existence, but later changes to "Text B". I verified this with Window Spy. My script only detected if a window with that WinText comes into existence during the w...
by 2_05
16 Sep 2018, 09:18
Forum: Wish List
Topic: Thread global variables and thread ID
Replies: 7
Views: 3633

Re: Thread global variables and thread ID

I see I may not have clarified my example enough. The sleep part represents a sequence of actions which take up several seconds, a time in which the user may start another thread which should also be possible. I also have to add that the script I wrote became quite large and I have already converted...
by 2_05
16 Sep 2018, 07:24
Forum: Wish List
Topic: Thread global variables and thread ID
Replies: 7
Views: 3633

Re: Thread global variables and thread ID

Working examples #A and #B. Take into account that while the thread is still active, the user may start a new thread on another Notepad window. #A using passing trough the pid and #B using the last found window. In #A it may seem like a minor inconvenience to pass the pid. But with many different fu...
by 2_05
16 Sep 2018, 04:51
Forum: Wish List
Topic: Thread global variables and thread ID
Replies: 7
Views: 3633

Thread global variables and thread ID

Many applications can be open multiple times, so there are several PID's active for the same application. If a Thread is started on one process of an application, I want to insure that all functions work on the same processes even when other windows have become active in between. I know a few ways o...
by 2_05
16 Sep 2018, 02:59
Forum: Bug Reports
Topic: Ahk2exe: Passing built-in variables to #include Topic is solved
Replies: 1
Views: 1157

Ahk2exe: Passing built-in variables to #include Topic is solved

As of AutoHotKey 1.1.28 , support was added for all built-in variables in the path passed to #Include. The following example shows that the compiler does not support all built-in variables yet. The example requires an include file msgbox.ahk is placed in the folders C:\, the My Documents folder and ...

Go to advanced search