Calling URL with registered program

Just starting out? Need help? Post your questions and find answers here.
User avatar
thinkitsimple
User
User
Posts: 89
Joined: Mon Aug 13, 2012 6:12 pm
Location: Berlin, Germany
Contact:

Calling URL with registered program

Post by thinkitsimple »

Hi,

i want ot call a URL, or some kind of: sip:01738126606@sipgate.de. After calling this, the app on my mac which is registered to handle the sip-protocol, does a phone call.

In other languages i simple can realize this by calling the sip-url like a normal url and the voip-app on my system opens the url.

I think it would help me, if i know how to open http://somewebsite.com in the standard browser of my system.
Michael

PureBasic 5.51, macOS 10.12.2 Sierra
User avatar
thinkitsimple
User
User
Posts: 89
Joined: Mon Aug 13, 2012 6:12 pm
Location: Berlin, Germany
Contact:

Re: Calling URL with registered program

Post by thinkitsimple »

Ok, found this solution:

Code: Select all

RunProgram("open", "sip:01738126606@sipgate.de", "")
Michael

PureBasic 5.51, macOS 10.12.2 Sierra
Post Reply