Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #11567

Re: I need a script to launch Whatsap.exe in automatic execution and iconofied windows

Path csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From "Mayayana" <mayayana@invalid.nospam>
Newsgroups microsoft.public.scripting.vbscript
Subject Re: I need a script to launch Whatsap.exe in automatic execution and iconofied windows
Date Sun, 12 Feb 2017 12:39:12 -0500
Organization A noiseless patient Spider
Lines 61
Message-ID <o7q6gr$1nr$1@dont-email.me> (permalink)
References <5192c2d3-2f45-4639-ba9c-593e4b76b331@googlegroups.com> <f005b7f4-539b-4fe2-b182-ddd7afbdb971@googlegroups.com> <o7n9kk$7hq$1@dont-email.me> <589f3477$0$713$e4fe514c@news.xs4all.nl> <o7nnac$q7j$1@dont-email.me> <589f6ec5$0$664$e4fe514c@news.xs4all.nl> <o7o43q$68e$1@dont-email.me> <58a0360e$0$782$e4fe514c@news.xs4all.nl> <o7pr5j$ofl$1@dont-email.me> <58a08e79$0$690$e4fe514c@news.xs4all.nl>
Injection-Date Sun, 12 Feb 2017 17:37:31 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="932d843f6b43ea9fb5aa5bbe450d5656"; logging-data="1787"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Q4QlRaDH6ZP6Xy0cBEzNF5qVGGBotPJs="
X-MimeOLE Produced By Microsoft MimeOLE V6.00.2900.5512
X-Newsreader Microsoft Outlook Express 6.00.2900.5512
Cancel-Lock sha1:mcv5+AVxFhHWQNM04/7IlzQ9oU0=
X-Priority 3
X-MSMail-Priority Normal
Xref csiph.com microsoft.public.scripting.vbscript:11567

Show key headers only | View raw


"R.Wieser" <address@not.available> wrote

| >    That's an easy thing for you to say, given that
| > you're not the one who has to write the code.
|
| 1) Wrong argument. 2) What makes you believe that I don't ?
|

  If you wrote VLC then I owe you an apology. :)
  If you didn't then it's a bit bratty to complain
that a free media player doesn't provide the option
to start minimized.

| And in that regard, how the heck do you think that I know that you can
| change a windows size without changing its state ?

  The only point I was trying to clarify was that it takes
work to follow a shortcut's minimize directive. Windows
doesn't do that. The starting program has to check for it.

  Let me step through this. The program starts. I look up
the settings I saved for the last window position. Using
those, I size and position my window, if necessary. Then
I show my window.

   If I want to do as you think I should, then before
sizing/positioning my window, and before looking up any
settings I saved, I would make an API call to GetStartupInfo.
If that specifies a min or max window then I'd skip the sizing
and positioning, and just set the window state. If the spec
was to show the window normal then I'd probably assume
the person has *not* specifically chosen that in the shortcut
settings, and would therefore ignore the startupinfo
and stick with my own saved settings from last time the
window was open.

  Whether I went with my own settings, or GetStartupInfo,
any sizing/positioning would happen before showing the
window and *would only be relevant if the window state
will be "normal"*. If the window state will be minimized or
maximized I have no sizing/positioning to do until it's
changed to normal.

* All of that is up to me. At no point does Windows step
  in to size the window, regardless of anything like
  shortcut settings or commandline options. Windows
  doesn't control that.*

  (Interesting trivia there: I don't know if it's still true, but
it used to be that one could identify a minimized window in
the Shell.Application windows collection by checking for
the Left coordinate (each window being an IE object) to
see whether it was a very high number.)

|
| its not
| likely that I will ever encounter one of your prodects, right ?

Let's hope not. I don't have time for all that tech support. :)

Back to microsoft.public.scripting.vbscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

I need a script to launch Whatsap.exe in automatic execution and iconofied windows Marco Saraceno <marco.saraceno78@gmail.com> - 2017-02-11 04:49 -0800
  Re: I need a script to launch Whatsap.exe in automatic execution and iconofied windows JJ <jj4public@vfemail.net> - 2017-02-11 20:24 +0700
  Re: I need a script to launch Whatsap.exe in automatic execution and iconofied windows Marco Saraceno <marco.saraceno78@gmail.com> - 2017-02-11 07:00 -0800
    Re: I need a script to launch Whatsap.exe in automatic execution andiconofied windows "R.Wieser" <address@not.available> - 2017-02-11 16:08 +0100
      Re: I need a script to launch Whatsap.exe in automatic execution andiconofied windows "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-02-11 16:13 +0100
        Re: I need a script to launch Whatsap.exe in automatic execution andiconofied windows "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2017-02-11 10:29 -0500
          Re: I need a script to launch Whatsap.exe in automatic execution andiconofied windows "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-02-11 21:56 +0100
            Re: I need a script to launch Whatsap.exe in automatic execution andiconofied windows "Mayayana" <mayayana@invalid.nospam> - 2017-02-11 16:58 -0500
              Re: I need a script to launch Whatsap.exe in automatic execution andiconofied windows "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-02-12 11:27 +0100
    Re: I need a script to launch Whatsap.exe in automatic execution and iconofied windows "Mayayana" <mayayana@invalid.nospam> - 2017-02-11 10:14 -0500
      Re: I need a script to launch Whatsap.exe in automatic execution and iconofied windows "R.Wieser" <address@not.available> - 2017-02-11 17:03 +0100
        Re: I need a script to launch Whatsap.exe in automatic execution and iconofied windows "Mayayana" <mayayana@invalid.nospam> - 2017-02-11 14:07 -0500
          Re: I need a script to launch Whatsap.exe in automatic execution and iconofied windows "R.Wieser" <address@not.available> - 2017-02-11 21:11 +0100
            Re: I need a script to launch Whatsap.exe in automatic execution and iconofied windows "Mayayana" <mayayana@invalid.nospam> - 2017-02-11 17:45 -0500
              Re: I need a script to launch Whatsap.exe in automatic execution and iconofied windows "R.Wieser" <address@not.available> - 2017-02-12 11:22 +0100
                Re: I need a script to launch Whatsap.exe in automatic execution and iconofied windows "Mayayana" <mayayana@invalid.nospam> - 2017-02-12 09:25 -0500
                Re: I need a script to launch Whatsap.exe in automatic execution and iconofied windows "R.Wieser" <address@not.available> - 2017-02-12 17:39 +0100
                Re: I need a script to launch Whatsap.exe in automatic execution and iconofied windows "Mayayana" <mayayana@invalid.nospam> - 2017-02-12 12:39 -0500
  Re: I need a script to launch Whatsap.exe in automatic execution and iconofied windows Marco Saraceno <marco.saraceno78@gmail.com> - 2017-02-11 10:22 -0800
    Re: I need a script to launch Whatsap.exe in automatic execution and iconofied windows "Mayayana" <mayayana@invalid.nospam> - 2017-02-11 14:09 -0500
      Re: I need a script to launch Whatsap.exe in automatic execution and iconofied windows "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2017-02-11 15:51 -0500
        Re: I need a script to launch Whatsap.exe in automatic execution and iconofied windows "Mayayana" <mayayana@invalid.nospam> - 2017-02-11 16:56 -0500

csiph-web