safe shell command
Ken Ray
kray at sonsothunder.com
Thu Feb 20 17:09:00 EST 2003
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: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
----- Original Message -----
From: "Alex Rice" <alrice at arcplanning.com>
To: <use-revolution at lists.runrev.com>
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.
> alrice at ARCplanning.com
> alrice at swcp.com
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list