Hi all,
Recently I made a script using AutoHotkey which allows me to quickly open my projects in my browser using localhost (XAMPP). It used to work perfectly, but ever since I got Avast Ultimate, it doesn't. It keeps showing up in the task manager as 'Suspended'.
I've been trying to fix this for a couple of days, and today I decided to try putting Avast in passive mode. To my surprise, my script now works perfectly. So Avast is causing the issues, but I have no idea how to stop Avast from suspending the process.
I have added the .exe file of the script to the 'Allowed Apps list', as well as AutoHotKey itself and the AutoHotKey Script Compiler. I have also added the directory with the script and the .exe to the exceptions list, but neither of those actually fix the problem (at least not while Avast isn't in passive mode).
How do I stop Avast from suspending the process?
I don't know if it helps, but here's the code for my script:
folder = %1%
server = C:\Users\Gebruiker\OneDrive - Curio\Projecten\htdocs
StringReplace, url, folder, %server%, http://localhost/
StringReplace, url, url, \, /, All
Run, %url%
ExitApp