|
Answer» I'm trying to use my batch file, to close a previously opened window. for some reason I can't open it minimized via the batch file. The program is housed on a server i don't have direct access to. So it seems to me, finding a way to minimize it is the answer.What program ? ?...what is the server running OS ? ?...if it's not your server you will get no help here.I agree with Patio. More detail needed here. A possible workaround. Use dual monitors. That way you have a place so something else while the remote program dominates your FIRST monitor. The server isn't mine. I don't know what version of software runs on the server. What i do know is that in order to access schematics for the equipment we manufacture, I need to run an App. I have a shortcut that i was provided for this app. The shortcut opens a window, inside this window are buttons which launch other programs for viewing prints, printing prints and converting them to PDF. What I am looking for is the Original window that pops up, which is just a standard window in my mind, just like all the other windows that pop up on my taskbar. It always pops up on the main screen and is 3 times bigger than it needs to be. So every morning I fire that app open, then move it to another monitor, and SHRINK it down so that only the 3 buttons that i will actually use are still visible. I was trying to automate some of this. My laptop runs Windows 10. I think this App, may use Excel, as SOMETIMES an error pops up about excel. I think if this app is launching at the same TIME as opening another Excel program, that happens.You can try to minimize all windows with this batch that use a powershell :
Code: [Select]echo off Title Minimize All Windows Powershell -C "(New-Object -ComObject Shell.Application).MinimizeAll()"I wonder if I can use a VARIATION of what you wrote to only close this one window which is titled "Megtec Apps"?
|