I'm trying to make a skin that will open specific windows from an application on an Action, as opposed to just running the executable. Usually, simply running the executable will open the default window for that application, but so far I've had issues with Rainmeter and HWinfo. Running the Rainmeter executable just starts it in the background, which is obviously pointless for a skin to do, and I see that there's a Bang (!Manage) to start up the manager window, so that was easy enough to solve. However, I'm trying to accomplish something similar with HWinfo as well.
In the case of HWinfo, the main and sensor windows do open when running the executable, but it generates a UAC prompt every time, and I would prefer to have the skin open *just* the sensor window on action, if it were possible. I figured this would require passing some argument or option to the executable that would be specific to that application, and so I
asked about it on the HWinfo forums. The author replied and said he wasn't sure if it's even possible to do something like that from Rainmeter. The only example I can find of a skin passing some kind of argument to an application is one that starts Discord like this:
Code: Select all
LeftMouseUpAction=["C:\Users\UserDirectory\AppData\Local\Discord\Update.exe" --processStart Discord.exe]
I'm not really sure what "processStart" is or does, as it seems like it might be a generic argument that is used by Windows rather than the application itself, but I was hoping someone might know more and be able to point me in the right direction to figuring out if something like this is even possible in theory.