Search found 9437 matches

by lexikos
Today, 04:00
Forum: Bug Reports
Topic: Debugger bug Topic is solved
Replies: 1
Views: 234

Re: Debugger bug Topic is solved

Fixed by v2.0.15.
by lexikos
Today, 03:54
Forum: Ask for Help (v2)
Topic: Can I determine if the Always property has been used in SetCapsLockState? Topic is solved
Replies: 2
Views: 209

Re: Can I determine if the Always property has been used in SetCapsLockState? Topic is solved

You do not need to "trace every instance of SetCapsLockState". Off the top of my head, you could: Define your own MySetCapsLockState function and use search and replace to replace calls in your script, no "tracing" needed. Your function can call the built-in one before/after recording whether the Al...
by lexikos
Today, 03:14
Forum: Ask for Help (v2)
Topic: Keywait can not detect long press for ctrl key at AutoHotkey V2
Replies: 2
Views: 184

Re: Keywait can not detect long press for ctrl key at AutoHotkey V2

If you must ask "is this a bug?", it likely isn't. Please post in Ask for Help in future. I have moved the topic. When you omit the L option, KeyWait will wait until the key is not being physically pressed down. You are not physically pressing down LCtrl or F14, so it does not wait. If you use the L...
by lexikos
Yesterday, 16:41
Forum: Announcements
Topic: v2.0.15
Replies: 15
Views: 27161

v2.0.15

Fixed DBGp property_get failing to retrieve properties due to incorrect paging (since v2.0.14). Fixed DBGp property evaluation causing Try without Catch to fail (since v2.0.14). Fixed <base> debugger pseudo-property leaking a reference (since v2.0.14). 207FEA03708F1BA8C8E61F30170D799495736726D1853D7...
by lexikos
Yesterday, 06:14
Forum: Wish List
Topic: Wish: Make GUI font size (e.g. Tooltip) responsive to HKCU\SOFTWARE\Microsoft\Accessibility\TextScaleFactor
Replies: 1
Views: 391

Re: Wish: Make GUI font size (e.g. Tooltip) responsive to HKCU\SOFTWARE\Microsoft\Accessibility\TextScaleFactor

ToolTip currently uses whatever default font Microsoft gave the ToolTip control. AutoHotkey does not set it. It would be possible, but would have to be opt-in somehow, as changes to default tooltip size could break some scripts. GUI does not respond to TextScaleFactor at all as far as I can tell. I ...
by lexikos
Yesterday, 05:44
Forum: Bug Reports
Topic: Access Is Denied for WinGetProcessName in V2 EXE
Replies: 17
Views: 1316

Re: Access Is Denied for WinGetProcessName in V2 EXE

Again, it's not really about whether it's a bug or not All I said on that note was "This is not a bug." Whatever you think "it" to be about, this was about the issue you presented and its placement in the Bug Reports forum. Practical reasons for or against changes aren't about whether it's a bug or...
by lexikos
14 May 2024, 06:28
Forum: Ask for Help (v1)
Topic: SC Code Error for Right Shift - v1.37.02
Replies: 1
Views: 288

Re: SC Code Error for Right Shift - v1.37.02

This is by design, so I have moved the topic out of Bug Reports. Also note that no one is maintaining v1.1. See End of Life: v1.1 . RShift is released immediately, but it is not by send {sc036 up} . You can confirm that KeyWait is not returning early by checking ListLines or KeyHistory, or by adding...
by lexikos
14 May 2024, 05:42
Forum: Bug Reports
Topic: Access Is Denied for WinGetProcessName in V2 EXE
Replies: 17
Views: 1316

Re: Access Is Denied for WinGetProcessName in V2 EXE

Retrieving the name of a process the direct way (i.e. without enumerating all processes) requires the PROCESS_QUERY_LIMITED_INFORMATION access right to the process. If you are denied access, you get an error by design. This is not a bug. Are there any cases where the existence of a window belonging ...
by lexikos
14 May 2024, 05:07
Forum: Ask for Help (v2)
Topic: [v2.0.14 bug] wheelDown/wheelUp not work Topic is solved
Replies: 4
Views: 402

Re: [v2.0.14 bug] wheelDown/wheelUp not work Topic is solved

Slight correction: v2.1-alpha.5 and later support remapping to/from the wheel.
by lexikos
13 May 2024, 16:46
Forum: Ask for Help (v2)
Topic: [v2.0.14 bug] wheelDown/wheelUp not work Topic is solved
Replies: 4
Views: 402

Re: [v2.0.14 bug] wheelDown/wheelUp not work Topic is solved

That has never been valid/supported. The following keys are not supported by the built-in remapping method: The mouse wheel (WheelUp/Down/Left/Right). Source: Remapping Keys (Keyboard, Mouse and Controller) | AutoHotkey v2 Use Send, so they will be hotkeys, not remapping. XButton1 & WheelUp::Send "{...
by lexikos
12 May 2024, 16:12
Forum: Wish List
Topic: add FileWrite function in alpha version
Replies: 9
Views: 977

Re: add FileWrite function in alpha version

Removing a thing which is already implemented, guaranteed by documentation and has been used for 20 years is quite different to doing nothing; i.e. not implementing a new function.
by lexikos
12 May 2024, 07:23
Forum: Bug Reports
Topic: Modified Remapping broken by 2.0.14 Topic is solved
Replies: 3
Views: 409

Re: Modified Remapping broken by 2.0.14 Topic is solved

But I do not want Alt to be pressed down again. Why not? If you press LAlt+w twice in a row without releasing LAlt, it will not work the second time if LAlt has been released by Send and not "pressed down again". This is what Send does with physical keys when you do not use Blind, or when you exclu...
by lexikos
12 May 2024, 07:13
Forum: AutoHotkey Development
Topic: 2.1 development put on hold?
Replies: 4
Views: 769

Re: 2.1 development put on hold?

I didn't take the time to reply because the reason I opened the forum was to release v2.1-alpha.10. ;) Seriously though, there are only so many hours in the day. It takes time to document changes, even just bug-fixes, and make the release actually work. For v2.0.13, there was a sequence of last-minu...
by lexikos
12 May 2024, 06:03
Forum: Wish List
Topic: add FileWrite function in alpha version
Replies: 9
Views: 977

Re: add FileWrite function in alpha version

It can be done with a simple one-liner. Why should the interpreter and documentation be inflated with these small but completely redundant functions? For matters of convenience, there are solutions that don't involve adding more redundant built-in functions, or waiting for someone else to do it for ...
by lexikos
07 May 2024, 06:58
Forum: Wish List
Topic: add FileWrite function in alpha version
Replies: 9
Views: 977

Re: add FileWrite function in alpha version

Code: Select all

FileOpen(path, "w").Write(text)
by lexikos
07 May 2024, 06:57
Forum: Bug Reports
Topic: MonthCal Week Number is incorrect on Windows 11 Topic is solved
Replies: 2
Views: 663

Re: MonthCal Week Number is incorrect on Windows 11 Topic is solved

Fixed by v2.0.14 (documentation for #1, behaviour for #2).
by lexikos
07 May 2024, 06:47
Forum: Bug Reports
Topic: Click should return "" just like MouseClick Topic is solved
Replies: 13
Views: 568

Re: Click should return "" just like MouseClick Topic is solved

The unintended integer return is fixed by v2.0.14.

The return value is intentionally still unspecified.
by lexikos
07 May 2024, 06:39
Forum: Bug Reports
Topic: InputHook does not exclude suppression for ENTER key Topic is solved
Replies: 3
Views: 271

Re: InputHook does not exclude suppression for ENTER key Topic is solved

[v2.1-alpha.10]: If the name is handled by SC, the option is also removed from the corresponding VK (i.e. regardless of whether the name is handled by VK or SC, the option is removed from both).
Source: InputHook - Syntax & Usage | AutoHotkey v2

Go to advanced search