Smalltalk
›
Pharo
›
Pharo Smalltalk Users
Search
everywhere
only in this topic
Advanced Search
Opening an URL from Pharo
‹
Previous Topic
Next Topic
›
Classic
List
Threaded
♦
♦
Locked
3 messages
Mariano Montone
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Opening an URL from Pharo
Hi.
Does anyone know how can I tell the OS to open (in a web browser) my URL from Pharo.
Something like, OS openUrl: '
http://www.google.com'
and that should open Google in the OS default web browser.
Thank you
Mariano
Sean P. DeNigris
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: Opening an URL from Pharo
Administrator
There is ExternalWebBrowser on sqs. It needs a little work, but works without too much effort. Or if you don't need to be cross-OS, use OSProcess (e.g. on Mac OS X "OSProcess command: 'open
http://www.google.com'
").
HTH,
Sean
Cheers,
Sean
Mariano Montone
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: Opening an URL from Pharo
Thanks Sean.
Using OSProcess is working for me.
Cheers, Mariano
Free forum by Nabble
Edit this page