Using AHK PostMessage to send WM_WININICHANGE to Program Manager
- by SaintWacko
I've written a script which updates an environment variable, but I need to tell Program Manager to update the computer's programs with this new information. I was given this as the API call that is made within another program to cause this:
::SendMessage(::FindWindow("Progman", NULL), WM_WININICHANGE, 0L, (LPARAM)"Environment");
I am attempting…