Page 5 of 5

Re: [Archive] Collection of lost AHK Scripts & Libraries

Posted: 25 Jan 2019, 17:38
by burque505
I'd like to resurrect this script by Serenity from 2008: "ShellHook Messages". It still works great with AHK_L 1.1.30.01 64-bit, no mods.
Spoiler
ShellHook Messages.gif
ShellHook Messages.gif (42.27 KiB) Viewed 8597 times

Re: [Archive] Collection of lost AHK Scripts & Libraries

Posted: 25 Jan 2019, 22:31
by SOTE
LOL! I had downloaded the script the other day. Excellent script and good idea to reintroduce it. There are many gems in the old forums.

Re: [Archive] Collection of lost AHK Scripts & Libraries

Posted: 26 Jan 2019, 06:23
by Drugwash
burque505 wrote:
25 Jan 2019, 17:38
It still works great with AHK_L 1.1.30.01 64-bit, no mods.
Yeah, but I felt like modding it anyway. :D
20190126125846.png
20190126125846.png (721.28 KiB) Viewed 8554 times
Show/hide the code
==================================================================
off-topic: The 'very large attachment size' issue popped up again. As you can see below, real image filesize is ~37kB, yet the attachment process made it 721kB! Same with the file properties screenshot: real size is ~30kB but it got uploaded as 728kB. Both took minutes to complete, when even with my lousy bandwidth a 5-6 seconds each would've been more than enough.
20190126131401.png
20190126131401.png (728.59 KiB) Viewed 8554 times

Re: [Archive] Collection of lost AHK Scripts & Libraries

Posted: 26 Jan 2019, 08:39
by burque505
@drugwash, nice mods! I like it. The addition of the Class column turns it from "nice to have" into a must. Great job.
Regards,
burque 505
off-topic: That's strange about that PNG file.

Re: [Archive] Collection of lost AHK Scripts & Libraries

Posted: 26 Jan 2019, 13:40
by burque505
I was wondering why HSHELL_RUDEAPPACTIVATED wasn't showing up. Here's why, I think.

Code: Select all

Global  HSHELL_WINDOWCREATED = 1
Global  HSHELL_WINDOWDESTROYED = 2
Global  HSHELL_ACTIVATESHELLWINDOW = 3
Global  HSHELL_WINDOWACTIVATED = 4
Global  HSHELL_GETMINRECT = 5
Global  HSHELL_REDRAW = 6
Global  HSHELL_TASKMAN = 7
Global  HSHELL_LANGUAGE = 8
Global  HSHELL_SYSMENU = 9
Global  HSHELL_ENDTASK = 10
Global  HSHELL_ACCESSIBILITYSTATE = 11
Global  HSHELL_APPCOMMAND = 12
Global  HSHELL_WINDOWREPLACED = 13
Global  HSHELL_WINDOWREPLACING = 14
Global  HSHELL_MONITORCHANGED = 16
Global  HSHELL_HIGHBIT = 0x8000 ; 32768
Global  HSHELL_RUDEAPPACTIVATED = 32772
Global  HSHELL_FLASH = 32774
The last four won't show up because they aren't sequentially numbered like the first 14 (script doesn't have HSHELL_MONITORCHANGED, so the last three won't show up in our case), except as "HSHELL_ ". It'll take a rewrite to fix that, I think; I'll give it a try when I wake up.

Re: [Archive] Collection of lost AHK Scripts & Libraries

Posted: 26 Jan 2019, 13:45
by Aenfa
Is it possible to make it catch the wm_command messages or is that too complicated?

Re: [Archive] Collection of lost AHK Scripts & Libraries

Posted: 26 Jan 2019, 15:48
by burque505
Sounds like a good idea :)
In the meantime, here's another Serenity script that I think is worth resurrecting also:
Spoiler
WinEvents.GIF
WinEvents.GIF (86.55 KiB) Viewed 8473 times

Re: [Archive] Collection of lost AHK Scripts & Libraries

Posted: 27 Jan 2019, 17:49
by Drugwash
burque505 wrote:
26 Jan 2019, 13:40
The last four won't show up because they aren't sequentially numbered like the first 14 (script doesn't have HSHELL_MONITORCHANGED, so the last three won't show up in our case), except as "HSHELL_ ". It'll take a rewrite to fix that, I think; I'll give it a try when I wake up.
Yeah, I never checked if all messages were present in the original script, I'm not even sure the missing ones are available in XP, otherwise I might've noticed the issue. Unfortunately my change won't be able to accomodate the extra ones, it would need an associative array for that but I'm not quite familiar with those.

The event script looks good, dunno if there's any room for improvement other than maybe adding a column autoresize ("AutoHdr" option).

Re: [Archive] Collection of lost AHK Scripts & Libraries

Posted: 26 Mar 2019, 05:40
by Tigerlily
Drugwash wrote:
27 Jan 2019, 17:49
burque505 wrote:
26 Jan 2019, 13:40
These are really awesome - thanks so much for sharing!!! If you just add an elapsed time column, you will also know how long you are spending time on each window/program and where :D

Re: [Archive] Collection of lost AHK Scripts & Libraries

Posted: 12 May 2019, 08:06
by lmstearn
Anyone saved a copy of Oldman's Multi-Monitor management? Looks to be very interesting, but for the lost D/L link.
Thanks
Edit: His Skynet repo is back online. Great! :)

Re: [Archive] Collection of lost AHK Scripts & Libraries

Posted: 19 Dec 2019, 04:21
by axxomano
tysm for this