I am trying to clear the clipboard before a copy and paste operation.

I am using the following service:

Dim clipService, oContents, arrFlavors()
clipService  = 
createUnoService("com.sun.star.datatransfer.clipboard.SystemClipboard")
oContents = clipService.getContents()
arrFlavors = oContents.getTransferDataFlavors()

if (UBound(arrFlavors) < 0) then
  REM ok
else
  REM I need to clear the clipboard here....
End if

How do i empty the clipboard ?

I tried calling clipService.flushClipboard() but that just commits the
clipboard contents from OOo to the operating system.....

ashok

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to