dictation-toolbox/dtactions

clipboard blocks at runtime error inside win32clipboard.SetClipboardData

Closed this issue · 1 comments

Now isolated:

the do_SCLIP function in unimacroactions.py fails if the string to paste is something like '123456677' (a string that is!).

A test function at the bottom of that file. In the fork dougransom/dtactions!! branch "sclip"

Probably solved, by bringing all win32clipboard functions:

 try:
      win32clipboard.EmptyClipboard()
  finally:
      win32clipboard.CloseClipboard()

under try... finally...