Thanks Steve:
That would be a great help.
Kevin Huber

On 6/19/12, Steve Nutt <[email protected]> wrote:
> Hi Bruce,
>
> I am the author of SayClip.  That's why I didn't do it because I didn't
> think we could get at it through the WE object model.  So my app only
> handles text at the moment.  I will update if I learn how to do it.
>
> All the best
>
> Steve
> --
> Computer Room Services
> 77 Exeter Close
> Stevenage
> Hertfordshire
> SG1 4PW
> Tel:  01438-742286
> Mob: 07956334938
> Fax: 01438-759589
> Email: [email protected]
> Web: http://www.comproom.co.uk
>
>
> -----Original Message-----
> From: BT [mailto:[email protected]]
> Sent: 18 June 2012 16:25
> To: [email protected]
> Subject: Re: Speaking contents of the clipboard
>
>
> Hi Kevin,
>
>     OK, that is what you are limited to unless I write up a shared object
> that uses the other fields inside the Windows Clipboard that does allow
> looking at the file name list which is stored on a collection list that you
>
> have to have the type enumeration for which the WE object does not give.
>     It is a nice thing to have though.
>
>         Bruce
>
> Sent: Monday, June 18, 2012 11:10 AM
> Subject: Re: Speaking contents of the clipboard
>
>
> Hi Bruce and Chip:
> I just check out the Sayclip script and, it will only read the text
> that is in the clipboard.  If you select several filenames. it will
> just say "no text".
> Based on what you guys have told me, I am just going to let my script
> work in situations where you are cutting, copying or pasting text, and
> I will leave the other cases, such as filenames in a directory, alone.
>  For now, anyway.
> Kevin Huber
>
> On 6/17/12, BT <[email protected]> wrote:
>>
>> Hi Kevin,
>>
>>     Chip has mentioned that which inside the WE object model you can not
>> monitor files or names of files, but if you make your own com object you
>> do
>>
>> have a type function which can tell you something about files and you
>> make
>> you test to check what type is inside the Clipboard and go look at the
>> collection on the file handle list...
>>
>>     But, there are only 2 flags inside the WE Object model, so you are
>> restricted to those 2, pictures and text...
>>
>>         Bruce
>>
>> Sent: Saturday, June 16, 2012 1:06 PM
>> Subject: RE: Speaking contents of the clipboard
>>
>>
>> Hi Kevin,
>>
>> If you speak it when something else posts new content to the clipboard,
>> no,
>> there's no event I know of which you could use.
>>
>> You could pole the clipboard with a timer, once a second for instance,
>> and
>> if it's text compare it to the last contents you spoke, and if it's
>> different then try to figure out if it's a file name (test for existence
>> of
>> the file?), and if so speak it; but it seems quite a bit to do to get it
>> to
>> speak the file name.
>>
>> BTW, if the person is interested they could just use a hotkey to speak
>> the
>> clipboard, which reminds me there is an app named sayClip I remember
>> seeing
>> which does do that I think?
>>
>> Chip
>>
>>
>>> -----Original Message-----
>>> From: Kevin Huber [mailto:[email protected]]
>>> Sent: Friday, June 15, 2012 1:40 PM
>>> To: gw-scripting
>>> 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