Genesys CTI User Forum > Genesys-related Development

WDE receive data from VBScript

(1/2) > >>

Dafne88:
Hello guys,
do you think it is possible that WDE receives data, for example the phone number to call, from a vbscript  ??? unfortunately the system that interfaces with WDE can only use VBScript  :-[. Thanks to everyone

cavagnaro:
Well, the IE browser component can be configured to receive script returns.
https://weblog.west-wind.com/posts/2008/sep/27/calling-javascript-functions-in-the-web-browser-control

Dafne88:
Hi!
thank you very much for helping.
I try to understand how to adapt the content of the link to my situation. Do you have any suggestions? I should develop a WDE plugin capable of receiving a data or command from a vb script external to WDE  :o

PeteHoyle:
Could you use your VBScript to modify a text file?

If so you could write the number to be dialed to a text file that WDE is using the FileSystemWatcher class to monitor for changes.

When the file changes check for the text, if the text is a phone number and the agent is logged on to voice then make the call.

cavagnaro:
How exactly are you using that VBScript right now?
Because it is async call...so...when do you trigger it? Only way to execute a VB Script (vb file locally? From some http server?) is to run it via browser control. So you navigate to it, get the script values and do something.
However, still wondering how you make that VB content dynamic...

Navigation

[0] Message Index

[#] Next page

Go to full version