Hi Kevin,

    Visual basic has no Clipboard method and there is one simple one inside 
of WE Object Model that at least allows you to read the text stored and add 
to the text using the append method.

    Read a little about the app that was written for the Clipboard append 
feature.

    To have the clipboard read file names you would have to make your own 
Clipboard class that knows what has been attached to the clipboard and you 
would have to inside of it read those file name objects you stored on that 
list. In other words make a class or something that when seeing those 
objects you extract the name and store that inside an array you can draw on 
by either creating a method or property inside the class.

    You have all the tools there to do that, but you have to make your own 
using probably com object, for the WE Clipboard object only has to tests for 
what was stored on the clipboard and you would want one for a file object.

        Bruce

Sent: Friday, June 15, 2012 1:40 PM
Subject: Speaking contents of the clipboard


Hi:
I am in the process of writing a script which has three hotkeys.  One
will copy text from the clipboard and speak the contents of the
clipboard, another will cut text to a clipboard and read the contents
of the clipboard, and still another will paste text from the clipboard
and announce the contents of the clipboard.
My question is, if I am copying filenames to the clipboard, is there a
way to get Window-eyes to speak the contents of the clipboard, similar
to the line:
"speak clipboard.text", which speaks the contents of the clipboard
when the clipboard contains text.
 Kevin Huber

Reply via email to