Search found 252 matches

by SAbboushi
24 Jan 2024, 12:01
Forum: Wish List
Topic: ListView Grid line color option
Replies: 7
Views: 1956

Re: ListView Grid line color option

Great stuff - thanks folks
by SAbboushi
23 Jan 2024, 11:31
Forum: Wish List
Topic: ListView Grid line color option
Replies: 7
Views: 1956

Re: ListView Grid line color option

Thanks. Was looking at your V2 LV_Colors Class yesterday: does it offer such an option?
by SAbboushi
22 Jan 2024, 22:30
Forum: Wish List
Topic: ListView Grid line color option
Replies: 7
Views: 1956

Re: ListView Grid line color option

I second that wish
by SAbboushi
18 Jan 2024, 10:48
Forum: Bug Reports
Topic: Gui Object GetPos method returns wrong values Topic is solved
Replies: 3
Views: 358

Re: Gui Object GetPos method returns wrong values Topic is solved

(updated Subject Title to remove "when -DPIScale option used": GetPos() values are incorrect regardless of whether DPI scaling is enabled or not)
by SAbboushi
18 Jan 2024, 00:46
Forum: Bug Reports
Topic: Gui Object GetPos method returns wrong values Topic is solved
Replies: 3
Views: 358

Gui Object GetPos method returns wrong values Topic is solved

Updating my code from v2.0-a122 to v2.0.11. I’m finding that GuiGetPos() is returning incorrect values in v2.0.11 (and correct values in v2.0-a122). ====== v2.0.11 ====== /* v2.0.11 */ ; DPIScaleEnabled ======================================================================================= MyGui_DPI...
by SAbboushi
17 Jan 2024, 17:33
Forum: Ask for Help (v2)
Topic: Window Spy suspends updates over AHK Gui windows during debug breakpoint
Replies: 7
Views: 357

Re: Window Spy suspends updates over AHK Gui windows during debug breakpoint

Owtch... 😳😳 my sincere apologies to Lexicos and the team for my completely ignorant claim that Window Spy for AHKv2 has a problem and that the other tools I mentioned do not. If anything, it is the other way around! My current findings/suspicions: when a script is stopped due to a breakpoint in the ...
by SAbboushi
16 Jan 2024, 13:31
Forum: Ask for Help (v2)
Topic: Window Spy suspends updates over AHK Gui windows during debug breakpoint
Replies: 7
Views: 357

Re: Window Spy suspends updates over AHK Gui windows during debug breakpoint

Only "workaround" I've found is to use Pause which is fine when not using a debugger but to me defeats the purpose of using a debugger (having to modify the code to add Pause commands and then restart the script in the debugger...)
by SAbboushi
16 Jan 2024, 13:03
Forum: Ask for Help (v2)
Topic: Window Spy suspends updates over AHK Gui windows during debug breakpoint
Replies: 7
Views: 357

Re: Window Spy suspends updates over AHK Gui windows

Appreciate you taking the time and my apologies... I just realized it only happens during debugging.
So to clarify, is there a workaround for using Window Spy for AHKv2 for AHK Gui's when script is stopped at a breakpoint while debugging? Not a problem for the other tools I mentioned
by SAbboushi
16 Jan 2024, 12:33
Forum: Ask for Help (v2)
Topic: Window Spy suspends updates over AHK Gui windows during debug breakpoint
Replies: 7
Views: 357

Window Spy suspends updates over AHK Gui windows during debug breakpoint

MyGui := Gui() MyGui.Add("Text",, "Please enter your name:") MyGui.AddEdit("vName") MyGui.Show "Busy" mouse pointer is displayed when pointer is above AHK Gui window and updates are suspended image.png Is there a workaround for using Window Spy for AHKv2 for AHK Gui's (or do I have to use another t...
by SAbboushi
11 Jan 2024, 20:25
Forum: Ask for Help (v2)
Topic: Control parameter can't be a variable if empty? Topic is solved
Replies: 2
Views: 248

Re: Control parameter can't be a variable if empty? Topic is solved

Thanks - problem resolved by making two changes (marked below): SetTitleMatchMode 2 DetectHiddenWindows true MsgNumber := 0x0044 ; WM_COMMNOTIFY wParam := 0x405 lParam := 0 Control := unset ; CHANGE #1 WinTitle := "SomeOtherScript.ahk - AutoHotkey v" WinText := "" ExcludeTitle := "" ExcludeText := "...
by SAbboushi
11 Jan 2024, 17:54
Forum: Ask for Help (v2)
Topic: Control parameter can't be a variable if empty? Topic is solved
Replies: 2
Views: 248

Control parameter can't be a variable if empty? Topic is solved

Although documentation does indeed say "Omitted" (vs. "empty"), is there a way to use a variable for the Control parameter when its value is empty? When Control = "", an error is thrown: Error: Target control not found. Borrowing from https://www.autohotkey.com/docs/v2/lib/SendMessage.htm#ExPID as e...
by SAbboushi
28 Nov 2021, 11:12
Forum: Visual Studio Code
Topic: new vscode extension allows advanced AHK V1/V2 debugging
Replies: 70
Views: 35702

Re: new vscode extension allows advanced AHK V1/V2 debugging

DaveT1 Instead of launch.json, I use Workspaces (specifically, Multi-Root Workspaces). I'm really buried right now and wish I could be more helpful; for now, I've attached some of my notes with screenshots from non-current versions of vscode and vscode-autohotkey-debug (i.e. screenshots may not exa...
by SAbboushi
25 Jul 2021, 08:56
Forum: Announcements
Topic: AutoHotkey v2.0-beta.1
Replies: 47
Views: 25221

Re: AutoHotkey v2.0-beta.1

Congrats! Great work!
by SAbboushi
10 Apr 2021, 21:10
Forum: Visual Studio Code
Topic: new vscode extension allows advanced AHK V1/V2 debugging
Replies: 70
Views: 35702

Re: new vscode extension allows advanced AHK V1/V2 debugging

boiler wrote:
10 Apr 2021, 20:32
Btw, you might want to edit your post above as you’ve mistakenly attributed text from my post to doubledave22.
Oops! Done - thanks
by SAbboushi
10 Apr 2021, 20:07
Forum: Visual Studio Code
Topic: new vscode extension allows advanced AHK V1/V2 debugging
Replies: 70
Views: 35702

Re: new vscode extension allows advanced AHK V1/V2 debugging

If you want to use the debug console, you need to have an extension with a debugger for AHK installed. AutoHotkey Plus by cweijan might be the only one that provides that capability. If you look at my original post, I started this thread to highlight vscode-autohotkey-debug which offers some cool f...
by SAbboushi
19 Mar 2021, 07:18
Forum: Ask for Help (v1)
Topic: ComObjCreate() and "(0x80040154) Class not registered"
Replies: 4
Views: 1043

Re: ComObjCreate() and "(0x80040154) Class not registered"

Thanks iPhilip for your posts. I've got a ways to go before I can create a function like your NewItem() -- but hoping to get there.

Anyone else have any thoughts/feedback on my previous post?
by SAbboushi
18 Mar 2021, 19:40
Forum: Ask for Help (v1)
Topic: ComObjCreate() and "(0x80040154) Class not registered"
Replies: 4
Views: 1043

Re: ComObjCreate() and "(0x80040154) Class not registered"

Thanks for your post. Understanding that I can open a workbook using the Application object (like in the link you posted), I'm unclear on what the obstacles are to using the Workbook object. It is defined within a TypeLib, so my (noob) understanding is that I should be able to instantiate that COM c...
by SAbboushi
17 Mar 2021, 11:28
Forum: Ask for Help (v1)
Topic: ComObjCreate() and "(0x80040154) Class not registered"
Replies: 4
Views: 1043

ComObjCreate() and "(0x80040154) Class not registered"

I'm trying to work with TypeLib2AHK and still struggling re: all the moving parts of COM. At a loss for how to proceed and would appreciate suggestions /* Been researching 0x80040154 errors; common problems reported include: 1) COM classes not registered: I'm finding entries in registry (see screens...
by SAbboushi
22 Feb 2021, 20:25
Forum: Ask for Help (v1)
Topic: Doesn't this class create a dangling pointer? Topic is solved
Replies: 2
Views: 455

Re: Doesn't this class create a dangling pointer? Topic is solved

Thanks for the confirmation
swagfag wrote:
22 Feb 2021, 19:40
... or if ure porting to v2, BufferAlloc doesnt suffer from that issue
Yes - trying to update for V2.

Go to advanced search