morsilver.blogg.se

How to start a program minimized
How to start a program minimized











These are my opinions and not my employers. Success = shell.appactivate("Outlook Today - Microsoft Outlook") '. Set shell = createobject("wscript.Shell") If it doesn't work increase the Sleep period. Change the Icon to the Outlook Icon through Properties / Change Icon and Browse for outlook.exeĪ. Create the VBS file called StartAndMinimizeOutlook.VBSĪ. If you know C# or have someone on staff that does, it would be better since SendKeys in a vbscript is time sensitive.ġ. You can start outlook always minimized by creating a VBScript or C# program which starts Microsoft Outlook and then tells the program tells it to minimize. Since scripts don't need to be compiled, I have one listed below which will start Microsoft Outlook and then minimize it. You are attempting to minimize an application the correct way, but unforutantely Microsoft Outlook 2003 is problematic in this area however, Microsoft Outlook 2007 is working now which is why I couldn't reproduce the problem.













How to start a program minimized