jeeswg wrote:Thanks for the additional information. I think the downloading plus the PC stalling on opening one or two Internet Explorer tabs, is what caused the problem. I saw it stall for a few seconds spookily, it wasn't an instant BSOD. I hadn't had a BSOD for ages, this year?
Just earlier with five Chrome windows open (~30 tabs in each) and Spotify running, right-clicking an AutoHotkey file caused my laptop to BSOD :/ Since in Windows 8 and 10, they dumbed down the BSOD screen and I have no idea how to use WinDbg, I have no idea why. Though in my case, my laptop's pretty old and it doesn't really get driver updates anymore...
I always have 17 AHK scripts, possibly plus a few, running, so I don't know that if the PC is stalling, that can ever be 'the straw that broke the camel's back'.
That's quite a bit
I know it depends on what you're doing with it, but AutoHotkey itself seems very lightweight to me.
I had been curious, out of interest, in case you could run a program, specifying a specific priority, before it even loaded.
CreateProcess lets you do it (see the documentation for dwCreationFlags), but depending on what vTarget is, CreateProcess might not work to start it - and ShellExecuteEx doesn't seem to have any way of setting the priority beforehand.