Search found 9423 matches

by lexikos
Today, 06:58
Forum: Wish List
Topic: add FileWrite function in alpha version
Replies: 2
Views: 101

Re: add FileWrite function in alpha version

Code: Select all

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

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
Today, 06:47
Forum: Bug Reports
Topic: Click should return "" just like MouseClick Topic is solved
Replies: 13
Views: 375

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
Today, 06:39
Forum: Bug Reports
Topic: InputHook does not exclude suppression for ENTER key Topic is solved
Replies: 3
Views: 171

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
by lexikos
Today, 06:35
Forum: Bug Reports
Topic: an issue on "~!= Up::Ctrl" Topic is solved
Replies: 3
Views: 209

Re: an issue on "~!= Up::Ctrl" Topic is solved

The error is detected in v2.0.13.
by lexikos
Today, 06:17
Forum: Wish List
Topic: Notify if not UTF-8? -- [Update: Not possible, me thinks]
Replies: 15
Views: 826

Re: Notify if not UTF-8? -- [Update: Not possible, me thinks]

Descolada I wrote the code that reads script files, and one of its optimizations is that it bypasses translation for ASCII characters. I obviously know that all of the encodings supported by AutoHotkey contain ASCII as a subset. My point is that upon finding the directive, the program has to check ...
by lexikos
Today, 05:42
Forum: Bug Reports
Topic: WinTitle with multiple ahk_id uses only last one Topic is solved
Replies: 6
Views: 367

Re: WinTitle with multiple ahk_id uses only last one Topic is solved

WinExist("ahk_id " hwnd1 " ahk_id " hwnd2) returns 0 if hwnd1 and hwnd2 are not equal in v2.1-alpha.10. I decided that it would not be appropriate to add this previously undocumented behaviour in a bug-fix release.
by lexikos
Today, 05:31
Forum: Bug Reports
Topic: Modified Remapping broken by 2.0.14 Topic is solved
Replies: 1
Views: 87

Re: Modified Remapping broken by 2.0.14 Topic is solved

Your script was relying on a bug. The behaviour of your script was incorrect. Now it is correct (pressing <!w produces !^w). Fixed Send to leave any prior { modifier Down} in effect even if the key happens to be physically held down. Source: Changes & New Features | AutoHotkey v2 {Alt down} Holds Al...
by lexikos
Today, 04:06
Forum: AutoHotkey Development
Topic: v2.1-alpha.10
Replies: 9
Views: 6616

v2.1-alpha.10

Changed how KeyOpt (InputHook) applies option removal for SC-based keys. Changed WinTitles with two different ahk_id values to yield no match. Changed RegExReplace to support binary zero in Replacement. Implemented virtual references: Any object with a __value property may act as a virtual reference...
by lexikos
Yesterday, 05:51
Forum: Announcements
Topic: v2.0.14
Replies: 14
Views: 26371

v2.0.14

Fixed the error dialog to handle letter key shortcuts even when text is focused. Fixed MonthCal W-n (number of month) width values to not be affected by DPI scaling. Fixed Click to not return an integer. Fixed detection of key::try { as an error. Fixed :B0*O:XY::Z to produce XYZ rather than XZ (supp...
by lexikos
Yesterday, 05:49
Forum: Wish List
Topic: Notify if not UTF-8? -- [Update: Not possible, me thinks]
Replies: 15
Views: 826

Re: Notify if not UTF-8? -- [Update: Not possible, me thinks]

I would think a directive would suit this purpose, A directive which is encoded as...? The program has already decided on an encoding and begun reading the file. Again, who would enable it? The author who doesn't know that the file needs to be saved as UTF-8? Is this directive supposed to be used b...
by lexikos
Yesterday, 03:26
Forum: Bug Reports
Topic: Closure memory leak
Replies: 4
Views: 418

Re: Closure memory leak

By default, a nested function automatically "captures" a non-static local variable of an outer function when the following requirements are met: ... The inner function (or a function nested inside it) must refer to the variable non-dynamically. ... Non-static local variables of the outer function c...
by lexikos
05 May 2024, 20:40
Forum: Bug Reports
Topic: SetTitleMatchMode Regex + i) option failing Topic is solved
Replies: 13
Views: 496

Re: SetTitleMatchMode Regex + i) option failing Topic is solved

Apparently it has been documented like this (with slight syntax changes) since 2016: For WinTitle , each component is separate, e.g. in "i)^untitled ahk_class i)^notepad$ ahk_pid " mypid , i)^untitled and i)^notepad$ are separate regex patterns and mypid is always compared numerically (it is not a r...
by lexikos
05 May 2024, 20:20
Forum: Wish List
Topic: Notify if not UTF-8? -- [Update: Not possible, me thinks]
Replies: 15
Views: 826

Re: Notify if not UTF-8? -- [Update: Not possible, me thinks]

RaptorX , AutoHotkey v2 does not by any definition "kind of enforce the use of the BOM". Script files must be UTF-8 with or without BOM unless they have a UTF-16 BOM or you use the /CP switch. If a Unicode character is written directly inside a script file which is saved as UTF-8-RAW, it will be de...
by lexikos
05 May 2024, 20:04
Forum: Bug Reports
Topic: [v2.1-alpha.9] Strange Menu.Show behaviors Topic is solved
Replies: 3
Views: 231

Re: [v2.1-alpha.9] Strange Menu.Show behaviors Topic is solved

If you are going to use #Requires in a bug report, it would be prudent to correctly specify the applicable version (perhaps even =2.1-alpha.9 ; but at least 2.1- ). In my testing, the issue never occurred with 1:: , ^1:: or RWin:: in place of AppsKey:: . I have that physical key remapped to RWin, bu...

Go to advanced search