Search found 686 matches

by Drugwash
Today, 02:33
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 339
Views: 174463

Re: AutoGUI - Script Editor, GUI Designer, Debugger and Tools

A standard AHK installation deploys an AHK template in that path to be used system-wide, like right-click in a folder > New > AutoHotkey Script. AutoGui only tries to use that template. However, if one never installed AHK from the installer - that is, uses the portable zip version - there would be n...
by Drugwash
11 Jul 2019, 08:22
Forum: Ask For Help
Topic: i always wanted to know, but was afaid to ask
Replies: 5
Views: 278

Re: i always wanted to know, but was afaid to ask

Lexikos hooks the Window Procedure of the tooltip window and changes certain attributes from within the new Window Procedure. I'm not familiar with the relatively new GUI command options such as +Parent (been trying to stick to old, common AHK1.0 style) but I suppose that could work too. Just make s...
by Drugwash
11 Jul 2019, 04:42
Forum: Ask For Help
Topic: i always wanted to know, but was afaid to ask
Replies: 5
Views: 278

Re: i always wanted to know, but was afaid to ask

Theoretically, if you know tooltip's HWND (which you find in the _TTWndProc() function according to lexikos' code), then you can use the SetParent() API to attach a GUI to the tooltip window.
I said theoretically - there may be other tidbits to take care of.
by Drugwash
11 Jul 2019, 04:22
Forum: Ask For Help
Topic: If app is fullscreen condition Topic is solved
Replies: 13
Views: 816

Re: If app is fullscreen condition Topic is solved

All code that relies on checking against A_ScreenWidth and A_ScreenHeight will break in a multi-monitor environment.

The true fullscreen windows (such as games, based on DirectX) are said to use an exclusive mode which I have not yet found how to determine.
by Drugwash
10 May 2019, 09:26
Forum: C/C++
Topic: Win10 bug? CopyImage() w/ LR_CREATEDIBSECTION
Replies: 0
Views: 190

Win10 bug? CopyImage() w/ LR_CREATEDIBSECTION

Recently when testing some old scripts of mine under Win10 x64 I noticed a couple of them were displaying their "skins" in color chunks instead of gradient as it always was the case from Win98SE to at least Win7. After some debugging I found out that the CopyImage() API was the culprit. In fact it's...
by Drugwash
01 May 2019, 04:47
Forum: Forum Issues
Topic: Forum changes, requests and features
Replies: 75
Views: 17097

Re: Forum changes, requests and features

What's with that google translate toolbar iframe at the top? I don't wanna see ANYTHING google on my computer(s)! Either make it optional (through user's control panel) or remove it altogether. Whoever needs translation can send/paste a link in their own browser's context-menu/toolbar/bookmark/whate...
by Drugwash
01 Mar 2019, 14:14
Forum: Wish List
Topic: Allow AutoHotkey to Handle Binary Data
Replies: 47
Views: 3785

Re: Allow AutoHotkey to Handle Binary Data

Could we get back on track? Safe and easy handling of binary data in AHK v1.1+.
Oh and I agree with SOTE: KISS.
by Drugwash
25 Feb 2019, 07:57
Forum: Wish List
Topic: Allow AutoHotkey to Handle Binary Data
Replies: 47
Views: 3785

Re: Allow AutoHotkey to Handle Binary Data

Hi, Helgef , thanks for replying. :) I've seen this hint a couple times above that says "might as well switch to v2", but it's not that simple. We have to keep in mind that there are many good old scripts whose authors are not around anymore and it would be quite a shame to break them by uncondition...
by Drugwash
24 Feb 2019, 04:49
Forum: Wish List
Topic: Allow AutoHotkey to Handle Binary Data
Replies: 47
Views: 3785

Re: Allow AutoHotkey to Handle Binary Data

Maybe also a BinLen() to return the real and accurate size of the binary buffer, since VarSetCapacity() and StrLen() don't always cut it. I wonder how many scripts have been/are randomly failing all these 16 years because their authors assumed assignment and comparison would seamlessly work for bina...
by Drugwash
23 Feb 2019, 18:17
Forum: Wish List
Topic: Allow AutoHotkey to Handle Binary Data
Replies: 47
Views: 3785

Re: Allow AutoHotkey to Handle Binary Data

Objects might just be overkill for simple operations on binary buffers, IMHO. Or it may just be my lack of familiarity with them.
Either way, something is needed in this regard and I guess it has been for a long time.
by Drugwash
23 Feb 2019, 12:55
Forum: Wish List
Topic: Allow AutoHotkey to Handle Binary Data
Replies: 47
Views: 3785

Re: Allow AutoHotkey to Handle Binary Data

Well, then try new operators specifically built for binary operations.
Such as b :=? a, if (a =? b), if (a !=? b).
Would that be feasible?
by Drugwash
04 Feb 2019, 12:12
Forum: Scripts and Functions
Topic: [x64 & x32 fix] DeskIcons - Get/Set Desktop Icon Positions
Replies: 69
Views: 10761

Re: [x64 & x32 fix] DeskIcons - Get/Set Desktop Icon Positions

Thanks. I've been using that tool for about two years, some 1.6.3 version. It even worked on the 98SE machine, with the help of KernelEx and some fiddling around. Unfortunately it can't save/restore those darn toolbars and the Quick Launch. :( Have you tried my suggestion with naming them 1.lnk, 2....
by Drugwash
02 Feb 2019, 09:03
Forum: Scripts and Functions
Topic: Windows Message Search tool
Replies: 30
Views: 2401

Re: Windows Message Search tool

You're welcome. That was my addition anyway, I hate both having strings cut off and unnecessarily large widths. ;)
by Drugwash
02 Feb 2019, 04:26
Forum: Scripts and Functions
Topic: Windows Message Search tool
Replies: 30
Views: 2401

Re: Windows Message Search tool

In the autoexec section, just before return there's a loop that sets AutoHdr for all columns - delete that loop:

Code: Select all

Loop, 3
	LV_ModifyCol(A_Index, "AutoHdr")
by Drugwash
02 Feb 2019, 03:51
Forum: Scripts and Functions
Topic: [x64 & x32 fix] DeskIcons - Get/Set Desktop Icon Positions
Replies: 69
Views: 10761

Re: [x64 & x32 fix] DeskIcons - Get/Set Desktop Icon Positions

Thanks. I've been using that tool for about two years, some 1.6.3 version. It even worked on the 98SE machine, with the help of KernelEx and some fiddling around. Unfortunately it can't save/restore those darn toolbars and the Quick Launch. :(
by Drugwash
01 Feb 2019, 06:51
Forum: Scripts and Functions
Topic: Windows Message Search tool
Replies: 30
Views: 2401

Re: Windows Message Search tool

Thank you very much for testing and feedback. Hopefully it was just burque's Win7 system at fault and the scripts will work correctly for everybody else.
by Drugwash
01 Feb 2019, 03:48
Forum: Scripts and Functions
Topic: Windows Message Search tool
Replies: 30
Views: 2401

Re: Windows Message Search tool

Well, I did save both scripts as UTF-8 w/ BOM on my machine from the very beginning. But I don't think this should affect the parsing of a variable that contains CSV text read from an ANSI file that has not been tampered with. Or should it…? BTW, jeeswg: have you tested these scripts here? If so, ho...
by Drugwash
31 Jan 2019, 17:59
Forum: Scripts and Functions
Topic: Windows Message Search tool
Replies: 30
Views: 2401

Re: Windows Message Search tool

Oh well, at least we're not crazy. :D (actually I'm not so sure about myself :P ) Thinking logically, it appears that systems newer than XP automatically strip nonprintable characters from the ListView fields. That would explain why you don't see those CRs on your systems while I do see them here on...
by Drugwash
31 Jan 2019, 17:36
Forum: Scripts and Functions
Topic: Windows Message Search tool
Replies: 30
Views: 2401

Re: Windows Message Search tool

I'm stumped. :( I even unpacked the Unicode AHK 1.1.30.01 and ran both my mod and your latest through it - results are the same: mine works correctly, yours displays an 'empty box' character (Carriage Return/`r) after each decimal value. At this point we need opinions and feedback from other users. ...

Go to advanced search