Pass A URL to cover all Win bases
Scott Rossi
scott at tactilemedia.com
Wed Aug 13 05:37:00 EDT 2003
> Scott suggests:
>
> [snip]
>> if "Win" is in platform() then
>> put tCode into url ("file:" &tLaunchPath)
>> set the hideConsoleWindows to true
>> put empty into tTitle
>> if "NT" is in systemVersion() then ##
>> set the shellCommand to "cmd.exe"
>> put quote "e into tTitle
>> end if
>> get shell("start" &&tTitle &"e &tURL "e)
>> end if
> [endSnip]
>
> In order to catch all of Win95/98/2K/XP/NT/ME, I would only modify the
> shellCommand test to read...
>
> if ("NT" is in the systemVersion) or ("Windows 4.90" is in the systemVersion)
> ##
Just curious why you see a need for this? In MC the docs say to set the
shellCommand to "cmd.exe" on NT systems, and WindowsME is seen by MC/Rev as
a Windows (not NT) system. Does cmd.exe work better on ME?
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com
More information about the use-livecode
mailing list