in mac, you need to do it in cocoa. 
with the ObjectiveCBridge2 you can do:

ws := (ObjectiveCBridge classObjectForName: #NSWorkspace) sharedWorkspace.
url := (ObjectiveCBridge classObjectForName: #NSWorkspace) URLWithString: 
'http://www.pharo.org' asNSStringUTF8.
ws openURL: url.


this work with the ObjectiveCBridge2, 
http://www.squeaksource.com/ObjectiveCBridge2/
and more or less in same way with the Alien-OSX Bridge: 
http://www.squeaksource.com/Alien/ (curiously, you need the 
"ConfigurationOfOldAlien" to make it work. 

it will be a NB out-of-the-box version, but since to communicate with ObjC you 
need a bridge (not just the ffi stuff), we (Igor and me) still did not find 
time to work on it... 

Esteban


On Feb 24, 2013, at 12:14 PM, "Torsten Bergmann" <[email protected]> wrote:

> Phile wrote:
>> But the "Browse button" invokes a NBWin32Shell class, which doesn't
>> works too well on my Mac.
> 
> Yes I know.
> 
> Thats why I asked  
> http://lists.gforge.inria.fr/pipermail/pharo-project/2013-February/074553.html
> for more browser support in NativeBoost on other platforms. The only answer I 
> got was using OSProcess
> but I want to have a NativeBoost solution for non-windows platforms too 
> (since NB is already preinstalled)
> 
> Sven wrote:
>> I am particularly interested in the Markdown conversion, but I can't find it 
>> immediately.
>> Where does the conversion from .md to .html happen in the code ?
> 
> Its not solved within Smalltalk - it is done directly in the browser using 
> javscript.
> It uses https://code.google.com/p/pagedown/
> 
> The scripts can be found on OHFileRequestHandler. Anything I do is to write a 
> div to the client
> html and invoke the script.
> 
> Bye
> T. 
> 
> 
> 
> 

Reply via email to