Passing the link to a web browser triggers the download fine so that part of the code works.
Using RunProgram(), with the link, in Windows also works because it passes the lnk to the browser.
Unfortunately I cannot get this to work in the Mac. The code I am using to test is
Code: Select all
Debug RunProgram("Applications/Safari.app","http://google.com","",#PB_Program_Wait)Code: Select all
Debug RunProgram("http://google.com")I did also try using #PB_Program_Open|#PB_Program_Write with similar success, debug reports 0.
Can someone point me in the right direction here please? All I need, I think, is the ability to send a URL to the default
web browser on the Mac. My Mac is a Macbook Pro running OS X Yosemite. PureBasic is 5.24 LTS (x64)
