Browser Launch Revisited

Ken Ray kray at sonsothunder.com
Mon Aug 26 09:39:01 EDT 2002


You may need to include ME in your check to see if you need to use cmd.exe
instead of command.exe. MC will return "Windows 4.90" (a complete list can
be seen at http://www.sonsothunder.com/devres/metacard/metacard.htm?win001).

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/


----- Original Message -----
From: "LiangTyan Fui" <mlist at afteroffice.com>
To: <metacard at lists.runrev.com>
Sent: Monday, August 26, 2002 2:31 AM
Subject: Re: Browser Launch Revisited


> On 5/30/02 2:31 AM, Scott Rossi wrote:
>
> > Hi List Folks:
> >
> > Here's some more on launching URLs in Web browsers...
> >
> > You may recall a post recently that mentioned the use of shell command
in
> > MC/Rev to launch a URL.  After tracking down a formatting issue (with
help
> > from Scott Raney and Michael Kahn), it appears the handler below could
be a
> > reliable option for launching URLs on Windows.
> >
> > on launchBrowser theURL
> >  set the hideConsoleWindows to true
> >  put empty into theTitle
> >  if "NT" is in the systemVersion then
> >    set the shellCommand to "cmd.exe"
> >    put quote & quote into theTitle
> >  end if
> >  get shell("start" && theTitle && theURL)
> > end launchBrowser
> >
> > Passing a URL to this handler should launch the URL in the default
browser
> > on any system from Win95 to XP, even with parameters included in the URL
> > string.  If the handler fails for you, let me know off list what your
> > findings are.  Testing here on Win95/98/2K/XP appeared to work in all
cases.
>
> I have 2 users reported a system crash (cursor freeze) using
launchBrowser.
> Both on Windows ME.
> Anyone with an ME to test this out?
>
> --
>
>
> > Assuming the above works, I'll post a Primer at some point about various
> > Mac/Win URL launch methods.
> >
> > Regards,
> >
> > Scott Rossi
> > Creative Director
> > Tactile Media, Multimedia & Design
> > -----
> > E: scott at tactilemedia.com
> > W: http://www.tactilemedia.com
> >
> > _______________________________________________
> > metacard mailing list
> > metacard at lists.runrev.com
> > http://lists.runrev.com/mailman/listinfo/metacard
>
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>




More information about the metacard mailing list