01-24-2010, 04:02 PM
setsel stores text in clipboard and presses Ctrl+V. Also it does various things to make this operation synchronous and reliable. It fails if it detects that the window did not accept the operation (did not get the text from the clipboard). Usually it is because at that time is focused another control, where text cannot be pasted.
After s.setsel add
err
,s.setclip
,key Cv
,out "s.setsel failed"
or just err
After s.setsel add
err
,s.setclip
,key Cv
,out "s.setsel failed"
or just err
