Alex,

Why do you need to minimize? Can't you just "set the hideConsoleWindows
to true" before you do your shell command?

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/

----- Original Message -----
From: "Alex Rice" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 20, 2003 2:41 PM
Subject: safe shell command


> I have gleaned these tidbits from the list. Can anyone add to this
code
> for making sure the shell command is going to run correctly, minimized
> on all windows variants? Does anyone know if Win XP has one of these
> two variants or does it have another "command" command?
>
> on startup
>   if the platform is "win32" then
>      put the shellCommand into tShellCmd
>      if matchText(tShellCmd, "command\.com$") then
>        put space & "/m" after tShellCmd
>        set the shellCommand to tShellCmd
>      else if matchText(tShellCmd, "cmd\.exe$") then
>        put space & "/MIN" after tShellCmd
>        set the shellCommand to tShellCmd
>      end if
>    end if
> end startup
>
> Thanks in advance
>
> Alex Rice, Software Developer
> Architectural Research Consultants, Inc.
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
>
>
> _______________________________________________
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to