I'm trying to write a little script to launch an external appliaction from SalesLogix.
To give some backgound: We have a 3CX Phone system, so the built-in dialler does not work. 3CX does have a function for this which I have implemented using WebOpen to launch a webpage with the URL which triggers the call.
The downside of this is that it also launches a IE window. Can I use another application (wget) to make the HTTP call, as this wouldn't launch the IE window?
why don't you use the xmlHTTP object to call the URL without having to open a Browser?
yourURL = "http://:5484/PbxAPI.aspx?func=make_call&from=204&to=203&pin=123"
Set objHTTP = CreateObject("Msxml2.XMLHTTP")
objHTTP.open "GET", yourURL, False ' I am making the call Synchronous so that you could get any Error Codes
if objHTTP.status <> 200 then
msgbox "An Error has ocurred: " + objHTTP.status + vbCRLF + objHTTP.statusText
Set objHTTP = Nothing