Search found 5439 matches

by lexikos
Today, 05:53
Forum: AutoHotkey v2 Development
Topic: Object declaration syntax
Replies: 7
Views: 96

Re: Object declaration syntax

jeeswg wrote:Allow trailing comma after the last item [...] AHK v1 code
This is the wrong forum.

[] and {} already allow trailing commas in v2.

(However, there's a trivial bug which occurs when you use an even number of trailing commas.)
by lexikos
Today, 04:36
Forum: Bug Reports
Topic: Unexpected hotkey triggers
Replies: 1
Views: 54

Re: Unexpected hotkey triggers

When I press Shift+Z, ~+vk5a is triggered.

I think it is more likely to be caused by some other part of your script or something else on your system.
by lexikos
Today, 03:24
Forum: AutoHotkey v2 Development
Topic: Object declaration syntax
Replies: 7
Views: 96

Re: Object declaration syntax

Allowing this is one of my long-term goals for when the parser is redesigned. If I think of a good way to hack it into the current parser, I may do it. v2 treats naked newline characters in expressions the same as spaces, so you do not need the Join option. However, you can do this with Join: x := {...
by lexikos
Yesterday, 17:03
Forum: AutoHotkey v2 Development
Topic: AutoHotkey v2 alpha (UPDATES)
Replies: 38
Views: 21812

v2.0-a084-72186a7

Renamed File.__Handle to File.Handle. Changed Input and hotstrings to treat Shift+BS the same as plain BS. Fixed standalone ternary expressions like x ? ++y : --z . Specifically, those which start with a word and space followed by '?'. Fixed possible crashes when reporting syntax errors with and/or/...
by lexikos
20 Jan 2018, 20:36
Forum: AutoHotkey v2 Development
Topic: a_iscompiled v2a082+
Replies: 4
Views: 146

Re: a_iscompiled v2a082+

This issue is caused by a compiler optimization called "COMDAT folding". On non-compiled builds, BIV_IsCompiled and BIV_TrayMenu have the same implementation: just return an empty string. This is because the BIV interface only supports strings, and all objects are treated as "" w...
by lexikos
20 Jan 2018, 19:34
Forum: Bug Reports
Topic: GuiControl speed bug? Topic is solved
Replies: 2
Views: 109

Re: GuiControl speed bug? Topic is solved

The issue appears to be WM_SETREDRAW. For instance, this appears to make it work: OnMessage(0xB, "WM_SETREDRAW") WM_SETREDRAW(wParam) { if !wParam return 0 } WM_SETREDRAW is used to prevent incremental redrawing while the individual child controls are being shown or hidden. I think what ha...
by lexikos
20 Jan 2018, 19:33
Forum: Announcements
Topic: v1.1.27 - It must be Christmas
Replies: 21
Views: 1364

v1.1.27.07

Fixed default size of Gui with +Parent to not be restricted by parent [broken by v1.1.27.05].
Fixed controls not redrawing if a separate Tab control is shown/hidden immediately after the control was invalidated (such as when showing/hiding multiple controls at once).
by lexikos
20 Jan 2018, 18:29
Forum: Bug Reports
Topic: rALT - a does not work in 1.1.2.27
Replies: 1
Views: 50

Re: rALT - a does not work in 1.1.2.27

This relates to: Fixed Send to use the correct modifier state with Unicode chars. The remapping >!a::ä is roughly equivalent to >!a::Send {Blind}ä , as described on the remapping page . When {Blind} is the first item in the string, the program avoids releasing Alt /Control/Shift/Win if they started ...
by lexikos
20 Jan 2018, 18:05
Forum: Bug Reports
Topic: 1.1.27.06 can not see child window Topic is solved
Replies: 4
Views: 164

Re: 1.1.27.06 can not see child window Topic is solved

You can use the workaround, or you can wait for the bug to be fixed.
by lexikos
18 Jan 2018, 04:32
Forum: Bug Reports
Topic: 1.1.27.06 can not see child window Topic is solved
Replies: 4
Views: 164

Re: 1.1.27.06 can not see child window Topic is solved

In previous versions if the child window's position was not specified, the child window was centered according to the dimensions of the work area (SPI_GETWORKAREA), but since child windows are positioned relative to the parent GUI, this always resulted in the child GUI being invisible. Now the child...
by lexikos
18 Jan 2018, 03:57
Forum: Ask For Help
Topic: Invalid Hotkey Topic is solved
Replies: 4
Views: 98

Re: Invalid Hotkey Topic is solved

>< is not a key. < is a key, and the > preceding it is a modifier symbol being used in the wrong context and having no effect. (Maybe you really meant > or < and did not mean to use the code exactly as-is.) Comma works just fine. *^,::run calc It also works without the *, which would only be necess...
by lexikos
18 Jan 2018, 03:48
Forum: Announcements
Topic: Preview of v1.1.28.00
Replies: 7
Views: 661

Re: Preview of v1.1.28.00

The sources are right where you looked. The version number is not committed, except on the master branch. It is set temporarily by the release script to include the ID of the commit, which cannot be included in that same commit for obvious reasons. The release script suggests a version number based ...
by lexikos
16 Jan 2018, 04:12
Forum: Offtopic
Topic: For Japanese (JIS) keyboard users (some Key codes have been shortened)
Replies: 3
Views: 120

Re: For Japanese (JIS) keyboard users (some Key codes have been shortened)

That change made my script even unloadable once (but it was solved by removing SCnnn). That is because your script contained an undetected error: SCnnn. Writing vk1Dsc123:: (or whatever sc number) was the same as writing vk1Dthisisnotvalid:: (except that if you wrote both , they were not considered...
by lexikos
16 Jan 2018, 03:55
Forum: Bug Reports
Topic: 1.1.27 slow on Windows XP
Replies: 10
Views: 383

Re: 1.1.27 slow on Windows XP

Please confirm that the v1.1.28.00 preview fixes your startup delay.
by lexikos
16 Jan 2018, 03:52
Forum: Announcements
Topic: v1.1.27 - It must be Christmas
Replies: 21
Views: 1364

v1.1.27.06

v1.1.27.06

Fixed hotstrings/Input causing stuck dead keys (broken by v1.1.27.05).
by lexikos
16 Jan 2018, 03:51
Forum: Bug Reports
Topic: Acceted characters Topic is solved
Replies: 1
Views: 51

Re: Acceted characters Topic is solved

Fixed in v1.1.27.06.
by lexikos
16 Jan 2018, 03:22
Forum: Ask For Help
Topic: Obscure Font Creation Bug
Replies: 20
Views: 487

Re: Obscure Font Creation Bug

Since the font mapping algorithm is responsible for choosing the font weight based on the weight specified in the logical font, setting the correct font weight is important. If it's important to you, you should set it when setting the font. Using the font weight from the last font used [...] doesn'...

Go to advanced search