- May
- 13,157
- 180
Apparently, stuff in the "StartUp" folder runs when Explorer starts on a new desktop. I have a logon BTM there and want to suppress most of what it does. I already have a plugin _DESK so I can suppress stuff with
But one of the things I **want** to do requires the PID of Explorer. Since there are two Explorer's running, getting the right one is not trivial. I can squeeze it out of my WHICHWIN plugin (which doesn't see beyond its own desktop) by getting the PID of the process owning the window of class "Progman". And I suppose I could write a plugin that does the same thing more directly. Does anyone have any other ideas?
Thanks.
Code:
IF "%_DESK" NE "Default" ...
But one of the things I **want** to do requires the PID of Explorer. Since there are two Explorer's running, getting the right one is not trivial. I can squeeze it out of my WHICHWIN plugin (which doesn't see beyond its own desktop) by getting the PID of the process owning the window of class "Progman". And I suppose I could write a plugin that does the same thing more directly. Does anyone have any other ideas?
Thanks.