Tuesday, 4 November 2008

Handy Citrix tips: Number 1 - free replacement for Citrix EasyCall

Citrix has been marketing some quick call feature available on their 'Platinum Edition', called Citrix EasyCall.

Now obviously not many customers are going to fork out for Platinum licenses just for one convenient feature. So, assuming you already have a soft phone of some description, what do you do?

Easy, use an AutoHotKey script to achieve the same thing. Simulate copying the selected phone number to clipboard, opening up the softphone application, bringing up the 'call number' facility and paste it in! Nearly every application supports copying a number to clipboard using Ctrl+C (Outlook, Internet Explorer, workflow systems, etc) - and this is really the only function you need.

Without further ado, here's my example: -

^!p:: ; Ctrl+Alt+P

ClipSaved := ClipboardAll ; Save the entire clipboard

Send ^c ; Copy current selected text - hopefully a valid telephone number

IfWinExist, Phone Manager Pro

{

WinShow , Phone Manager Pro , ; Display phone manager if hidden

WinActivate , Phone Manager Pro , ; Activate

WinWaitActive, Phone Manager Pro ,

Sleep, 300

Send, {F1} ; F1 brings up the Call box

WinWaitActive, Call ,

Sleep, 200

Send, ^v{Enter} ; Paste and call

Sleep, 500 ; Give it a chance to execute before restoring clipboard

}

else IfWinExist, Phone Manager Lite

{

WinShow , Phone Manager Lite , ; Display phone manager if hidden

WinActivate , Phone Manager Lite , ; Activate

WinWaitActive, Phone Manager Lite ,

Sleep, 300

Send, {F1} ; F1 brings up the Call box

WinWaitActive, Call ,

Sleep, 200

Send, ^v{Enter} ; Paste and call

Sleep, 500 ; Give it a chance to execute before restoring clipboard

}

else

{

MsgBox Error - you must be running Phone Manager for this to work!

}

Clipboard := ClipSaved ; Restore the original clipboard.

ClipSaved = ; Free the memory in case the clipboard was very large.

Sleep, 100

return



Obviously this will require substantial editing with the aid of the HotKey recorder and Window Spy for different softphones.

By the way, anyone know an efficient way to paste code into Blogger - this was time consuming!

Links: http://www.autohotkey.com

1 comment:

Robert said...

Apologies, got the link wrong - it's AutoHotKey.com :P