Difference between revisions of "WorkMan Agent 3 - Client Scripter"
From WorkManSoft Wiki
Jump to navigationJump to search (Created page with "== About == Client scripter is a new powerful feature that allows you to customize your own environment so that it can integrate with your own specific business systems. The fir...") |
|||
Line 14: | Line 14: | ||
begin | begin | ||
showSugarCRMFlash; | showSugarCRMFlash; | ||
+ | end. | ||
+ | |||
+ | |||
+ | == Examples == | ||
+ | |||
+ | === Popping a webpage === | ||
+ | |||
+ | Valid from v 3.0.1.4. The getCallInfo-function fetches various callinformation and openURL opens the webpage. The digit 1 states what windowstate e.g. SW_NORMAL (see [[WorkMan Client Script]] | ||
+ | |||
+ | begin | ||
+ | openURL('http://www.larsson.tc?' + | ||
+ | 'callerid=' + getCallInfo('CallerNum') + | ||
+ | '&callername=' + getCallInfo('CallerName') + | ||
+ | '&calledid=' + getCallInfo('CalledNum') + | ||
+ | '&callername=' + getCallInfo('CalledName') + | ||
+ | , 1); | ||
end. | end. |
Revision as of 13:02, 13 October 2012
About
Client scripter is a new powerful feature that allows you to customize your own environment so that it can integrate with your own specific business systems. The first version uses Pascal-script to perform scriptactions but more scriptengines will be supported in the future.
Deployment
TBA
Integration with Sugar CRM
By default Sugar CRM is tightly integrated so the script AGENT:SUGARCRMFLASH calls a function titled showSugarCRMFlash that performs all action that is needed.
begin showSugarCRMFlash; end.
Examples
Popping a webpage
Valid from v 3.0.1.4. The getCallInfo-function fetches various callinformation and openURL opens the webpage. The digit 1 states what windowstate e.g. SW_NORMAL (see WorkMan Client Script
begin openURL('http://www.larsson.tc?' + 'callerid=' + getCallInfo('CallerNum') + '&callername=' + getCallInfo('CallerName') + '&calledid=' + getCallInfo('CalledNum') + '&callername=' + getCallInfo('CalledName') + , 1); end.