Search found 118 matches

by JBensimon
04 Jul 2022, 08:04
Forum: Ask for Help (v1)
Topic: ;@Ahk2Exe-Base Topic is solved
Replies: 5
Views: 852

Re: ;@Ahk2Exe-Base Topic is solved

Thank you yet again.

JB
by JBensimon
03 Jul 2022, 13:19
Forum: Ask for Help (v1)
Topic: ;@Ahk2Exe-Base Topic is solved
Replies: 5
Views: 852

Re: ;@Ahk2Exe-Base Topic is solved

Thanks, TAC109. As long as I "have" you, maybe you can allay a concern: the ;@Ahk2Exe-Bin directive example in the current documentation is commented as "deprecated". Is it that choice of directive name that is deprecated, or the use of the .bin files for compilation? The latter would be problematic...
by JBensimon
03 Jul 2022, 13:03
Forum: General Discussion
Topic: Who is "MY"?
Replies: 8
Views: 1857

Re: Who is "MY"?

Emile HasKey wrote:
02 Jul 2022, 20:02
I thought I'd take a crack at solving the MYstery.
...
MYstery solved?
Cool sleuthing, Emile! I at least am convinced.

JB
by JBensimon
02 Jul 2022, 11:59
Forum: Ask for Help (v1)
Topic: ;@Ahk2Exe-Base Topic is solved
Replies: 5
Views: 852

Re: ;@Ahk2Exe-Base Topic is solved

To answer my own questions: [...] the AutoHotkey interpreters (*.exe) themselves can be used instead of the provided *.bin files to create compiled scripts?? Yes. The resulting executables are somewhat larger than if the .bin files were used, but they work. [...] will Ahk2Exe.exe automatically look ...
by JBensimon
02 Jul 2022, 09:58
Forum: Ask for Help (v1)
Topic: ;@Ahk2Exe-Base Topic is solved
Replies: 5
Views: 852

;@Ahk2Exe-Base Topic is solved

BinBase.png Am I reading correctly that the AutoHotkey interpreters (*.exe) themselves can be used instead of the provided *.bin files to create compiled scripts?? If so, will Ahk2Exe.exe automatically look for them in its folder's parent or must a full path to the .exe(s) always be provided? Let m...
by JBensimon
02 Jul 2022, 07:11
Forum: Ask for Help (v1)
Topic: Gui "focus" weirdness
Replies: 7
Views: 782

Re: Gui "focus" weirdness

For what it's worth, here's the workaround I settled on to correct a new GUI's accent color without affecting the z-order: rather than temporarily give focus to an existing window before giving it back to the GUI, I give focus to a new ("invisible") window and immediately destroy it (by calling this...
by JBensimon
01 Jul 2022, 05:16
Forum: General Discussion
Topic: Who is "MY"?
Replies: 8
Views: 1857

Re: Who is "MY"?

Thanks, lexikos. I was assuming that only the "unsigned" comments were Chris's.
by JBensimon
28 Jun 2022, 19:11
Forum: General Discussion
Topic: Who is "MY"?
Replies: 8
Views: 1857

Re: Who is "MY"?

Thank you for the reply, gregster. I guess the MYstery lives on.

JB
by JBensimon
28 Jun 2022, 17:29
Forum: General Discussion
Topic: Who is "MY"?
Replies: 8
Views: 1857

Re: Who is "MY"?

I don't think I understand: there's no user with the handle MY in the member list as far as I can tell, and who said anything about nationality?? I just wondered whether someone who appears to be (or to have been) involved in some way in AHK's development was somebody I may have run across in the fo...
by JBensimon
25 Jun 2022, 08:14
Forum: Ask for Help (v1)
Topic: How to detect when something is pasted into an edit control?
Replies: 5
Views: 775

Re: How to detect when something is pasted into an edit control?

mikeyww wrote:
25 Jun 2022, 08:12
Different question ...
Quite right, missed that detail in the question.
by JBensimon
25 Jun 2022, 08:01
Forum: Ask for Help (v1)
Topic: How to detect when something is pasted into an edit control?
Replies: 5
Views: 775

Re: How to detect when something is pasted into an edit control?

Good idea (and script), @mikeyww, but what if a paste occurs via Right-click + Paste?
by JBensimon
24 Jun 2022, 11:42
Forum: Ask for Help (v1)
Topic: How to detect when something is pasted into an edit control?
Replies: 5
Views: 775

Re: How to detect when something is pasted into an edit control?

According to the documentation of the AutoHotkey OnMessage() function, it depends on whether the message is sent or posted to the control: Messages sent to a control (rather than being posted) are not monitored because the system routes them directly to the control behind the scenes. This is seldom ...
by JBensimon
23 Jun 2022, 12:35
Forum: General Discussion
Topic: Who is "MY"?
Replies: 8
Views: 1857

Who is "MY"?

Many comments in the AutoHotkey source code are signed "MY". Just curious to know who that is?

JB
by JBensimon
21 Jun 2022, 12:52
Forum: Bug Reports
Topic: #WinActivateForce interferes with new GUIs' accent color
Replies: 0
Views: 333

#WinActivateForce interferes with new GUIs' accent color

Described here https://www.autohotkey.com/boards/viewtopic.php?f=76&t=105550&p=469107#p469107 (with code for reproducing), it seems #WinActivateForce causes new GUI windows to be painted without a title bar and window frame accent color (despite being the active window), which makes them seem inacti...
by JBensimon
21 Jun 2022, 12:40
Forum: Ask for Help (v1)
Topic: Gui "focus" weirdness
Replies: 7
Views: 782

Re: Gui "focus" weirdness

Yes, the script (like most scripts) does work without #WinActivateForce , but this particular one at times activates local windows above full-screen remote sessions (various technologies: RDP, Citrix, VMware View) and, subjectively, it feels more immediate (and possibly even more reliable) with that...
by JBensimon
21 Jun 2022, 10:38
Forum: Ask for Help (v1)
Topic: Gui "focus" weirdness
Replies: 7
Views: 782

Re: Gui "focus" weirdness (#WinactiveForce issue)

I couldn't very well post a 3200+ lines script, so I did some experimenting and tracked down what appears to be the cause: the combination of #WinActivateForce and of creating & showing a GUI in response to a hotkey produces the behavior I described (although I've also seen it without the GUI being ...
by JBensimon
19 Jun 2022, 12:35
Forum: Ask for Help (v1)
Topic: Gui "focus" weirdness
Replies: 7
Views: 782

Gui "focus" weirdness

I have a longish script that creates and displays various GUI dialogs in response to certain hotkeys, and I've observed a strange behavior: when a GUI is displayed (Gui, Show ...), it appears without the current accent color in its title bar (i.e. its title bar is white, making it look as if it does...
by JBensimon
11 Jun 2022, 14:10
Forum: Ask for Help (v1)
Topic: Script to run commands ONLY when NO window is active Topic is solved
Replies: 3
Views: 647

Re: Script to run commands ONLY when NO window is active Topic is solved

The Desktop's window class is sometimes WorkerW rather than Progman, so you should add that as another possibility in your #IfWinActive line. If that still doesn't work, use WindowSpy.ahk to find out the name or class of the active window after using Win+D -- if it's still one of the minimized windo...
by JBensimon
09 Jun 2022, 10:56
Forum: Ask for Help (v1)
Topic: FileSelectFile sometimes ignores my Rootdir (ahk2exe or 32/64bit issue?) Topic is solved
Replies: 17
Views: 3165

Re: FileSelectFile sometimes ignores my Rootdir (ahk2exe or 32/64bit issue?) Topic is solved

Here's some working code: And here's an updated version that now allows for undoing a previous use of the function: calling it with no parameters or with TRUE still leads to FileSelectFile reliably always starting at RootDir , and calling it with FALSE will undo the created Registry entries to rest...
by JBensimon
08 Jun 2022, 07:39
Forum: Ask for Help (v1)
Topic: FileSelectFile sometimes ignores my Rootdir (ahk2exe or 32/64bit issue?) Topic is solved
Replies: 17
Views: 3165

Re: FileSelectFile sometimes ignores my Rootdir (ahk2exe or 32/64bit issue?) Topic is solved

Here's some working code: calling this function at the top of a script will ensure every FileSelectFile RootDir is respected. (I chose to create a ComDlg32 subkey named FirstFolderTrack as the location of the EXE tracking entries) StableRootDir() { EXE := (A_IsCompiled) ? A_ScriptFullPath : A_AhkPat...

Go to advanced search