[Archive] Collection of lost AHK Scripts & Libraries

Post your working scripts, libraries and tools
burque505
Posts: 1053
Joined: 22 Jan 2017, 19:37

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

25 Jan 2019, 17:38

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 2783 times
SOTE
Posts: 783
Joined: 15 Jun 2015, 06:21

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

25 Jan 2019, 22:31

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.
User avatar
Drugwash
Posts: 737
Joined: 29 May 2014, 21:07
Location: Ploieşti, Romania

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

26 Jan 2019, 06:23

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 2740 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 2740 times
I've deleted my CloudMe account because of GDPR - the now legal base for privacy invasion and data theft.
burque505
Posts: 1053
Joined: 22 Jan 2017, 19:37

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

26 Jan 2019, 08:39

@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.
burque505
Posts: 1053
Joined: 22 Jan 2017, 19:37

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

26 Jan 2019, 13:40

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.
Last edited by burque505 on 26 Jan 2019, 15:48, edited 1 time in total.
Aenfa
Posts: 8
Joined: 15 May 2016, 18:06

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

26 Jan 2019, 13:45

Is it possible to make it catch the wm_command messages or is that too complicated?
burque505
Posts: 1053
Joined: 22 Jan 2017, 19:37

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

26 Jan 2019, 15:48

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 2659 times
User avatar
Drugwash
Posts: 737
Joined: 29 May 2014, 21:07
Location: Ploieşti, Romania

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

27 Jan 2019, 17:49

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).
I've deleted my CloudMe account because of GDPR - the now legal base for privacy invasion and data theft.
User avatar
Tigerlily
Posts: 283
Joined: 04 Oct 2018, 22:31

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

26 Mar 2019, 05:40

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
-TL
User avatar
lmstearn
Posts: 231
Joined: 11 Aug 2016, 02:32
GitHub: lmstearn
Contact:

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

12 May 2019, 08:06

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! :)
:arrow: itros "ylbbub eht tuO kaerB" a ni kcuts m'I pleH

Return to “Scripts and Functions”

Who is online

Users browsing this forum: Chunjee and 73 guests