Steve Gray

Results 57 comments of Steve Gray

Was any testing done to verify that has a measurable and consistent benefit to performance and does not negatively impact performance of calls with >4 parameters?

You can't replace gosub with goto. Subroutines utilize a stack, with the return point (the line which called the subroutine) being variable. The only sane replacement for a label-based subroutine...

The trigger text of a hotstring never changes, and therefore only the actual length of the string is allocated for each hotstring. The memory cost of increasing MAX_HOTSTRING_LENGTH is a...

As I said, > This could be mitigated, but only at the cost of complexity and/or memory usage. I suppose that using a ring buffer would slightly increase the complexity...

> unfortunately, if PT are not running as admin, we won't be able to intercept NumLock keys in elevated apps. If PT utilized the [uiAccess="true"](https://docs.microsoft.com/en-us/windows/win32/winauto/uiauto-securityoverview#setting-uiaccess-in-the-application-manifest-file) attribute in its manifest (and...

My testing seemed to indicate that this workaround will not work, at least on my system. I haven't implemented it in the AutoHotkey source, but I've done some testing with...

After commenting, I had a realization. It seems the basic idea of the workaround shown in PR #4123 is that sending and then suppressing a key will effect a change...