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 -- View this message in context: http://forum.world.st/Opening-an-URL-from-Pharo-tp4635106.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
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 -- View this message in context: http://forum.world.st/Opening-an-URL-from-Pharo-tp4635106p4635112.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Thanks Sean. Using OSProcess is working for me. Cheers, Mariano -- View this message in context: http://forum.world.st/Opening-an-URL-from-Pharo-tp4635106p4635114.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
participants (2)
-
mmontone -
Sean P. DeNigris