Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Mayayana" Newsgroups: microsoft.public.scripting.vbscript Subject: Re: I need a script to launch Whatsap.exe in automatic execution and iconofied windows Date: Sat, 11 Feb 2017 10:14:02 -0500 Organization: A noiseless patient Spider Lines: 25 Message-ID: References: <5192c2d3-2f45-4639-ba9c-593e4b76b331@googlegroups.com> Injection-Date: Sat, 11 Feb 2017 15:12:20 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="4353a80daf712cddc4b954df0e966ac2"; logging-data="7738"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX180Y3e7q5ZLrBncAkTFYqZal4+9Rsqie1I=" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 Cancel-Lock: sha1:7+/Oz/w+sVH3Bl4jIvTpCWgTYCM= X-Priority: 3 X-MSMail-Priority: Normal Xref: csiph.com microsoft.public.scripting.vbscript:11550 "Marco Saraceno" wrote |i mean automatically launch Whatapp.exe at Startup (but iconofied) Iconofied? Do you mean you want the window minimized to the Taskbar? Maybe that's iconified, though I've never heard either term. If you want it minimized it might work to use Rudy's idea: Put a shortcut in the Startup folder. Then write a short script something like the following, and also put that in the Startup folder. Dim ShAp WScript.Sleep 5000 Set ShAp = CreateObject("Shell.Application") ShAp.MinimizeAll Set ShAp = Nothing What that does is to minimize all open windows, after waiting 5 seconds. (Your program needs to be open before it can be minimized.) You might need to play around with the Sleep time.