Search found 36 matches

by potscrubber
15 Jan 2024, 03:37
Forum: Ask for Help (v2)
Topic: Understanding GuiControl properties
Replies: 7
Views: 354

Re: Understanding GuiControl properties

Hmm. I kind of agree with everybody. In my real world app, the GUI is a function, and it's very convenient to make it with global MyGui := Gui() , then I can read and write to any v variable for the small typing overhead of MyGui["MyCheckBox"].value , which is also descriptive. On the other hand, th...
by potscrubber
13 Jan 2024, 23:36
Forum: Ask for Help (v2)
Topic: Understanding GuiControl properties
Replies: 7
Views: 354

Re: Understanding GuiControl properties

william_ahk wrote:
13 Jan 2024, 23:27
In v2, variable assignment is not a replacement for v in options, you can still use vCtrlName, and it's the recommended way.
I see. I didn't know I could reach the v option var like that without using MyGui.Submit() first.

Thank you too.
by potscrubber
13 Jan 2024, 23:08
Forum: Ask for Help (v2)
Topic: Understanding GuiControl properties
Replies: 7
Views: 354

Re: Understanding GuiControl properties

OK - I think I grok that. Thank you boiler! This tells me that I need to learn more about classes which have always been a bit mysterious to me.

Thanks again.
by potscrubber
13 Jan 2024, 20:41
Forum: Ask for Help (v2)
Topic: Understanding GuiControl properties
Replies: 7
Views: 354

Understanding GuiControl properties

Hi Wondering if someone can help me with understanding the rules about GuiControl properties. In v1, I am a big user of g labels and GuiControlGet, so I am trying to build similar functionality in v2. For the code below, it works fine as is. But if I un-comment the OnEvent for the checkbox control, ...
by potscrubber
13 Mar 2023, 17:55
Forum: Scripts and Functions (v1)
Topic: TextRender v1.7 - Draw text on screen
Replies: 51
Views: 11621

Re: TextRender v1.7 - Draw text on screen

iseahound this is a really nice and modern execution of gdip for AHK - thank-you! Just wondering if you had in any interest in incorporating gdiplus\GdipCreateLineBrushFromRect ? Using it with two similar colors for the background and rounded corners can give a really nice very slightly 3D backgrou...
by potscrubber
12 Feb 2023, 21:27
Forum: Ask for Help (v1)
Topic: Finding a really nasty bug
Replies: 6
Views: 523

Re: Finding a really nasty bug

Hi swagfag Thanks for your response, and the schooling. I dug for more information over several emails. But finally I struck a good seam of information, and I already had growing suspicions as my app doesn't actually do any Sending, though it does have a bunch of hotkeys. It turns out my user has tw...
by potscrubber
10 Feb 2023, 04:37
Forum: Ask for Help (v1)
Topic: Finding a really nasty bug
Replies: 6
Views: 523

Re: Finding a really nasty bug

I will see if he can. Thanks.
by potscrubber
10 Feb 2023, 03:10
Forum: Ask for Help (v1)
Topic: Finding a really nasty bug
Replies: 6
Views: 523

Re: Finding a really nasty bug

boiler wrote:
10 Feb 2023, 03:05
Check your CPU usage. If it’s pegged, it can cause things to grind to a halt.
Thanks. The CPU usage seems just fine, but I have never seen the bug happen, and the user claims they can't even Ctl-Alt-Del when it happens.
by potscrubber
10 Feb 2023, 02:57
Forum: Ask for Help (v1)
Topic: Finding a really nasty bug
Replies: 6
Views: 523

Finding a really nasty bug

Hello I develop a small widget with AHK. It's an OSD for a brand of pro audio hardware. The OSD uses open sound control and has user assigned hotkeys for various functions. It's simple but it's complex too. I have one user that gets a full machine lockup sometimes, requiring a hard power off. Nasty!...
by potscrubber
23 Jan 2023, 19:55
Forum: Ask for Help (v1)
Topic: Looking for feedback from TrayIcon library users on Windows 11
Replies: 10
Views: 1492

Re: Looking for feedback from TrayIcon library users on Windows 11

updated my office laptop to Win 11 My guess is that you updated to Build 22621, where teadrinker's code works great. However, it does not work in Build 22623 (where it gets the MsgBox, Not Found ) for the same reason that the TrayIcon library does not work (as lexikos explained). I don't understand...
by potscrubber
23 Jan 2023, 18:24
Forum: Ask for Help (v1)
Topic: Looking for feedback from TrayIcon library users on Windows 11
Replies: 10
Views: 1492

Re: Looking for feedback from TrayIcon library users on Windows 11

Last night I updated my office laptop to Win 11 (in place), did a quick test of the code by teadrinker, it seemed to work flawlessly. Then I hurriedly put my Win 10 image back! Thanks @teadrinker !
by potscrubber
20 Jan 2023, 23:06
Forum: Ask for Help (v1)
Topic: Looking for feedback from TrayIcon library users on Windows 11
Replies: 10
Views: 1492

Re: Looking for feedback from TrayIcon library users on Windows 11

Hi @potscrubber, That's the same TrayIcon library that I've been talking about the whole time (Original Author: Sean, Update Author: Cyruz, Mod Author: Fanatic Guru). It works great in W10 (and earlier), as well as W11 through Build 22621, but does not work in Build 22623, the cause of which lexiko...
by potscrubber
19 Jan 2023, 21:53
Forum: Ask for Help (v1)
Topic: Looking for feedback from TrayIcon library users on Windows 11
Replies: 10
Views: 1492

Re: Looking for feedback from TrayIcon library users on Windows 11

Wait for a help with this to. Some alternatives/work-arounds beginning at this forum post: https://www.autohotkey.com/boards/viewtopic.php?f=23&t=111398#p499459 Regards, Joe Hi Joe I also found this helpful function / class linked in this post here . It works well on Win 10. I'm not currently able ...
by potscrubber
19 Jan 2023, 04:34
Forum: Ask for Help (v1)
Topic: Prompting an app running in tray to create first window
Replies: 3
Views: 296

Re: Prompting an app running in tray to create first window

Thanks for that swagfag, I just learnt something (Spy++). Unfortunately, when focusing it's message capture on the aforementioned app main window or dominant ClassNN, it's as barren as a salt lake: not a single message. Compared to the voluminous flood of messages when focused on the Notepad window....
by potscrubber
19 Jan 2023, 02:23
Forum: Ask for Help (v1)
Topic: Prompting an app running in tray to create first window
Replies: 3
Views: 296

Prompting an app running in tray to create first window

Hello folks My AHK acript is working with a 3rd party app, which stays resident and has an icon in the tray. I use a hotkey to have this app show and hide it's window. WinShow, WinActivate and WinHide all work fine with it - but only for subsequent show/hide actions. When the app is first run, I hav...
by potscrubber
28 Sep 2022, 18:14
Forum: Scripts and Functions (v1)
Topic: ToolTipFont / ToolTipColor - options for the ToolTip command
Replies: 92
Views: 50896

Re: ToolTipFont / ToolTipColor - options for the ToolTip command

I think I found the reason: script2.cpp: // v1.1.34: Avoid TTM_UPDATETIPTEXT if the text hasn't changed, to reduce flicker. The behaviour described // above could not be replicated, EVEN ON WINDOWS XP. Whether it was ever observed on other OSes is unknown. if (!newly_created && !ToolTipTextEquals(t...
by potscrubber
28 Sep 2022, 18:13
Forum: Scripts and Functions (v1)
Topic: ToolTipFont / ToolTipColor - options for the ToolTip command
Replies: 92
Views: 50896

Re: ToolTipFont / ToolTipColor - options for the ToolTip command

Yeah, I compile with the 1.1.33.10 binary for one particular program I distribute where big friendly tooltips are very helpful to the users.
by potscrubber
06 Jun 2022, 17:33
Forum: Scripts and Functions (v1)
Topic: ToolTipFont / ToolTipColor - options for the ToolTip command
Replies: 92
Views: 50896

Re: ToolTipFont / ToolTipColor - options for the ToolTip command

v1.1.34 Optimized ToolTip for cases where the text isn't changing, to reduce flicker and speed it up. ??? Oh I missed that in the ChangleLog, yes thanks. Actually in a quick test it seemed to affect your ToolTipEx as well, in the font and size selection. Perhaps lexicos might be kind enough to upda...
by potscrubber
06 Jun 2022, 04:38
Forum: Scripts and Functions (v1)
Topic: ToolTipFont / ToolTipColor - options for the ToolTip command
Replies: 92
Views: 50896

Re: ToolTipFont / ToolTipColor - options for the ToolTip command

These wonderful wee functions no longer work for me in AHK 1.1.34.03. Specifically ToolTipFont: font and size. I just get the standard Windows tooltip.

If I downgrade to AHK 1.1.33.10 then functionality returns. Using AHK Unicode x64 in Win 10 x64 21H2.

Anyone else?

cheers.

Go to advanced search