Search found 1642 matches

by kczx3
13 Aug 2023, 12:49
Forum: Ask for Help (v2)
Topic: Something with the download page changed recently?
Replies: 12
Views: 1184

Re: Something with the download page changed recently?

There’s also https://www.autohotkey.com/download/versions.txt which you can use to generate the version specific urls
by kczx3
10 Aug 2023, 10:43
Forum: Scripts and Functions (v2)
Topic: LVICE_XXS - LV in-cell editing minimal version
Replies: 13
Views: 2217

Re: 2.0-beta.1: LVICE_XXS apha.1 - LV in-cell editing minimal version

You may not need Critical anymore in your callbacks with the somewhat recent fixes made to message handling
by kczx3
31 Jul 2023, 11:07
Forum: Ask for Help (v2)
Topic: How to hightlight the matched item in listview?
Replies: 1
Views: 241

Re: How to hightlight the matched item in listview?

That would be incredibly complex and would require implementing CustomDraw or Owner Drawing of the ListView control
by kczx3
14 Jul 2023, 14:09
Forum: Tutorials (v2)
Topic: Debounce using VarRef / Coarse Graining Blocking Calls / Synchronize values / Remove duplicate events / Filter events
Replies: 6
Views: 2210

Re: Coarse Graining Blocking Calls / Synchronize values / Remove duplicate events / Filter events

Other common approaches are to debounce the async call or you could maybe try and use a stack. If an event comes in while the callback is still executing then insert the latest event so it processes next in the queue.
by kczx3
13 Jul 2023, 09:53
Forum: Ask for Help (v2)
Topic: ComObjGet/ComObjActive for Office apps Topic is solved
Replies: 27
Views: 2216

Re: ComObjGet/ComObjActive for Office apps Topic is solved

Does it have anything to do with UIA?
by kczx3
05 Jul 2023, 18:18
Forum: Ask for Help (v2)
Topic: Show PDF in AHK GUI
Replies: 17
Views: 1270

Re: Show PDF in AHK GUI

If navigate works then the control that AHK has created is actually Shell.Explorer. By default, if the progId isn’t found then AHK creates an instance of the Shell.Explorer control
by kczx3
05 Jul 2023, 12:02
Forum: Ask for Help (v2)
Topic: Show PDF in AHK GUI
Replies: 17
Views: 1270

Re: Show PDF in AHK GUI

Or just skip using IE altogether and use the control itself... Be warned it requires running 32-bit AHK.

Code: Select all

g := Gui()
x := g.AddActiveX("w600 h600", "AcroPDF.PDF").value

g.show()

x.LoadFile(FileSelect(, , "Pick a PDF", "PDF (*.pdf)"))
by kczx3
05 Jul 2023, 10:24
Forum: Ask for Help (v2)
Topic: Show PDF in AHK GUI
Replies: 17
Views: 1270

Re: Show PDF in AHK GUI

I agree its a bit overkill but there's just not a ton of options for PDFs. You could certainly convert to an image and then scale the image up and down. Scrolling it would be possible as well but also complicated to implement.
by kczx3
05 Jul 2023, 09:10
Forum: Ask for Help (v2)
Topic: Show PDF in AHK GUI
Replies: 17
Views: 1270

Re: Show PDF in AHK GUI

You could also use webview2 to display the pdf if a gui.
by kczx3
30 Jun 2023, 21:11
Forum: Wish List
Topic: Gui/Control objects position/size properties after creation
Replies: 7
Views: 1233

Re: Gui/Control objects position/size properties after creation

Alas, I mistook apples for oranges. Still, the discussion and topic is about fruit. I’m supportive of RaptorX’s wish.
by kczx3
30 Jun 2023, 07:32
Forum: Wish List
Topic: Gui/Control objects position/size properties after creation
Replies: 7
Views: 1233

Re: Gui/Control objects position/size properties after creation

You seem more inclined to do this than in the past. I do recall discussions in the past and I recall your main concern was performance and that retrieving the width and height would ultimately result in multiple API calls to get the same information. I’ll have to find the conversation to link it her...
by kczx3
28 Jun 2023, 09:43
Forum: Ask for Help (v2)
Topic: Fun with dBase & ComboBox population
Replies: 8
Views: 584

Re: Fun with dBase & ComboBox population

You have a ton of options. One is to certainly only load the ComboBox with a subset that matches the search criteria. It is nice that the Combobox handles all that for you and I'd certainly recommend any approach like that. With a ListView, you can put the part number in the first column and users c...
by kczx3
28 Jun 2023, 09:24
Forum: Ask for Help (v2)
Topic: How to make auto suggestion
Replies: 9
Views: 648

Re: How to make auto suggestion

I think you just need -E0x200 in your options to remove the control border
by kczx3
27 Jun 2023, 12:12
Forum: Ask for Help (v2)
Topic: Fun with dBase & ComboBox population
Replies: 8
Views: 584

Re: Fun with dBase & ComboBox population

Why add that many things to a ComboBox? What's the usecase exactly?

If you must use it this way, perhaps you can create the control, call CB_INITSTORAGE via DllCall to tell it you're adding ~50,000 items, then add the items after.
by kczx3
26 Jun 2023, 08:33
Forum: Ask for Help (v2)
Topic: Arrays, Parsing, and Strings, oh my! App installer help?
Replies: 4
Views: 383

Re: Arrays, Parsing, and Strings, oh my! App installer help?

Good idea @just me. I'd recommend at least implementing an event handler for item selection that toggles that item's checkbox. Normal checkboxes allow clicking of the label to check the box.
by kczx3
23 Jun 2023, 08:34
Forum: Ask for Help (v2)
Topic: Print page directly from script
Replies: 7
Views: 664

Re: Print page directly from script

You could always manually generate postscript and print that file. https://www.adobe.com/jp/print/postscript/pdfs/PLRM.pdf

Using HTML or Word would be much easier though.
by kczx3
09 Jun 2023, 08:10
Forum: Ask for Help (v2)
Topic: Webview2 => how to access cookies? Topic is solved
Replies: 5
Views: 737

Re: Webview2 => how to access cookies? Topic is solved

Using the library has nothing to do with Dlls or ComObjects. That is all abstracted away. Just pass the URI as the first argument to GetCookies
by kczx3
08 Jun 2023, 12:00
Forum: Ask for Help (v2)
Topic: Webview2 => how to access cookies? Topic is solved
Replies: 5
Views: 737

Re: Webview2 => how to access cookies? Topic is solved

Why are you passing a ptr to GetCookies? It pretty clearly accepts a URI as the first argument.
by kczx3
25 May 2023, 07:22
Forum: General Discussion
Topic: New Outlook for Windows drops COM support
Replies: 11
Views: 2702

Re: New Outlook for Windows drops COM support

malcev wrote:
25 May 2023, 05:57
I just tried it on clean Windows 11 Enterprise 22621.1702 Cloud PC.
If there are no running instances of outlook then ComObjCreate("Outlook.Application") works correctly.
And you’re positive that it’s the New Outlook application that you’re launching???

Go to advanced search