I need to create a script that copies the highlighted text (from any windows application that i am in) and then pastes it into another specific application (a VOIP softphone called Zoiper) and then actions the enter button. I have been using a similar script on an old machine as per below, but it is not working. Can anyone help, please?
Thanks,
Matt
Code: Select all
#esc::
clipboard =
Send ^c
ClipWait
IniWrite % Clipboard, Save.ini, Data, Myclip
Run "C:\Program Files (x86)\Zoiper\Zoiper.exe"
WinActivate, Zoiper Biz
IniRead Myclip, Save.ini, Data, Myclip
Send % Myclip
Send {Enter}
Return