[Newbies] Opening URL in default browser.

Herbert König herbertkoenig at gmx.net
Fri Nov 20 08:09:18 UTC 2009


Hi Mike,

MV> Is it possible to have squeak run the default web browser and have it
MV> go to a url?

Yes.

You need the FFI package. Assuming you are in Windows
Win32Shell>>shellExplore: aPathString gives you an example to open the
Windows explorer on a path. This can be tailored to open your
favourite web browser.

There is an alternative in the OSProcess and CommandShell packages
which I never used myself.

Cheers,

Herbert   



More information about the Beginners mailing list