Search found 7002 matches

by lexikos
Today, 05:04
Forum: AutoHotkey v2 Development
Topic: AutoHotkey v2 alpha (UPDATES)
Replies: 81
Views: 74335

v2.0-a127-a43811bd

Fixed exit-by-last-GUI-destruction to permit OnExit to prevent exit. (Only applies when no threads are running, such as when a child GUI's parent is destroyed/closed by an external force.) Fixed WinSetTransColor to permit non-numeric values. Fixed issues with hotkey variants having different #InputL...
by lexikos
Today, 03:31
Forum: Ask For Help
Topic: Hotkeys do not work when there is no window focussed
Replies: 6
Views: 154

Re: Hotkeys do not work when there is no window focussed

So then, it wasn't related to the window focus? :roll: Previously there were issues where apps running with special rights had caused similar issues (such as the Task Manager grabbing focus) but this can be worked around by giving AutoHotKey admin rights (and using other methods to suppress the UAC ...
by lexikos
Today, 02:15
Forum: Wish List
Topic: New icon
Replies: 3
Views: 123

Re: New icon

No. :)


Spoiler
by lexikos
Yesterday, 23:26
Forum: Wish List
Topic: Optimized access to string characters
Replies: 6
Views: 275

Re: Optimized access to string characters

All you did was assign (and thereby create) a property/key-value pair. To undo that, delete what you created.
by lexikos
Yesterday, 23:21
Forum: Wish List
Topic: RegexMatch to have a global flag
Replies: 1
Views: 65

Re: RegexMatch to have a global flag

It's...annoying? Writing loop code every time? Just write a function returning an array or enumerator, and call that instead. Or use some other solution for automating the repetitive task. Two functions which have different purposes do not need to be "consistent". RegExReplace replaces all (or limit...
by lexikos
Yesterday, 04:52
Forum: Ask For Help
Topic: how to pass a variable to batch
Replies: 5
Views: 105

Re: how to pass a variable to batch

Environment variables are normally inherited automatically by child processes. In other words, just set the environment variable within the script, then run cmd.exe.

Code: Select all

EnvSet vComputer, %vComputer%
by lexikos
Yesterday, 04:47
Forum: Ask For Help
Topic: Hotkeys do not work when there is no window focussed
Replies: 6
Views: 154

Re: Hotkeys do not work when there is no window focussed

However, in the situation where no window has the focus, the green button is not intercepted by AutoHot k ey [...] I think your understanding of the situation may be incorrect. I'm going to guess that your remote button sends vkAC rather than #!enter . vkAC:: would normally be implemented with the ...
by lexikos
Yesterday, 03:46
Forum: Bug Reports
Topic: 1.1.33.03 crashes on POPCNT instruction
Replies: 4
Views: 195

Re: 1.1.33.03 crashes on POPCNT instruction

@benrg Thanks.

v1.1.33.04 replaces __popcnt with popcount8.
by lexikos
Yesterday, 03:45
Forum: Announcements
Topic: v1.1.33
Replies: 15
Views: 7075

v1.1.33.04

Removed dependency on the POPCNT instruction, which is not supported by old CPUs (e.g. Core 2).

SHA256 hashes
by lexikos
01 Mar 2021, 16:41
Forum: Bug Reports
Topic: * prefix breaking issue
Replies: 2
Views: 849

Re: * prefix breaking issue

v1.1.33.03 should fix these issues. Here's a more minimal example: $^a:: <^a up::MsgBox % A_ThisHotkey ; Erroneously fires for both LCtrl-A and RCtrl-A on v1.1.33.02. The issues were: • Key-up hotkeys firing incorrectly because they were paired with a hotkey with overlapping but different requiremen...
by lexikos
01 Mar 2021, 16:26
Forum: Bug Reports
Topic: 1.1.33.03 hotkeys bug Topic is solved
Replies: 3
Views: 181

Re: 1.1.33.03 hotkeys bug Topic is solved

I didn't find any actual problem with v1.1.33.03, so I restored the download. The script you posted does not crash, and works just fine for me.
by lexikos
01 Mar 2021, 06:36
Forum: Bug Reports
Topic: 1.1.33.03 hotkeys bug Topic is solved
Replies: 3
Views: 181

Re: 1.1.33.03 hotkeys bug Topic is solved

I've pulled the download because I noticed a problem. It's late here now, so I won't be fixing it straight away.

I was actually testing a different version (v1.1.33.03 + 1 commit) and forgot that the 1 commit wasn't part of v1.1.33.03. I'll look into the problem you reported as well.
by lexikos
01 Mar 2021, 06:34
Forum: Bug Reports
Topic: Odd Behavior with Block Comments?
Replies: 4
Views: 147

Re: Odd Behavior with Block Comments?

It was done this way to allow the user to easily comment out a block by adding /* and */, and then "toggle" the block by adding or removing semicolon; i.e. ;/*.

If you have signatures turned off like I do, you won't see your own or anyone else's.
by lexikos
01 Mar 2021, 05:45
Forum: AutoHotkey v2 Development
Topic: About traditional assignments
Replies: 6
Views: 313

Re: About traditional assignments

Doubling quote marks is not the way to escape them in v2. The OP is using both quote mark types, i.e. ["'] for "double quote or single quote", so swapping from double quotes to single quotes will not help in the slightest.
by lexikos
01 Mar 2021, 05:39
Forum: AutoHotkey v2 Development
Topic: AutoHotkey v2 alpha (UPDATES)
Replies: 81
Views: 74335

v2.0-a126-6c420d26

v2.0-a126-ddaf72c8 Changed WinSetTransparent to treat "" as "Off" (not as 0). Added Default parameter to RegRead. Added validation to LV.GetNext parameter #1. Fixed WinSetTransparent to validate new value. Fixed 'functionname'.p to invoke String.Prototype, not Func.Prototype. Fixed -4.5.%9999% to b...
by lexikos
01 Mar 2021, 01:09
Forum: Announcements
Topic: v1.1.33
Replies: 15
Views: 7075

v1.1.33.03

This release is incompatible with some old CPUs, such as Core 2. Fixed crashing when an empty SafeArray is enumerated. Fixed height to not auto-expand for Button/Checkbox/Radio with -Wrap. Fixed WM_DESTROY bypassing release of objects in global/static vars. Fixed WinMenuSelectItem second-attempt ma...
by lexikos
01 Mar 2021, 01:06
Forum: Bug Reports
Topic: !WheelUp and !WheelDown sends the ALT key Topic is solved
Replies: 3
Views: 470

Re: !WheelUp and !WheelDown sends the ALT key Topic is solved

This should work as expected with v1.1.33.03 if you add #InstallKeybdHook (for the reason explained above).
by lexikos
28 Feb 2021, 19:56
Forum: AutoHotkey v2 Development
Topic: About traditional assignments
Replies: 6
Views: 313

Re: About traditional assignments

What you have described is just a less flexible version of traditional assignment. Many alternatives to the v1 traditional assignment (or removing it) were discussed and rejected years ago. A literal assignment would restore unwanted duality to the syntax, while being much less useful than some of t...

Go to advanced search