[jawsscripts] Paltalk scripts

  • From: "Tony Hernandez" <tonyhspeaks@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Fri, 25 Feb 2011 17:30:35 -0500

Hi. I would be interested to know if the scripts work for you or anyone else
who tries them.

Tony Hernandez
http://DutyOfMan.net/
Para oir y bajar la Biblia Sagradas Escrituras Versión Antigua en MP3,
visite http://dutyofman.net/biblia-audio/


-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Hamid AITOUZNAG
Sent: Friday, February 25, 2011 4:56 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: preventing double speak using RichEditGetText
function with newTextEvent or SayNonHighlightedTex was RE: Re: editor.jss in
homer kit setup zip not opening properly

I really appreciate your help Tony.

All the best!

Hamid AITOUZNAG
"We never value what we have until we lose it!".

Skype: hamidgeni

MSN: hamid.maier@xxxxxxxxxxx


On 25/02/2011 21:49, Tony Hernandez wrote:
> Use alt +1 through alt+0 to read the first most recent through the tenth
> most recent message. Use the grave accent key to read the most recent
> message.
>
> The executable installer is at
> http://dl.dropbox.com/u/4673571/PALTALK.exe
>
> The zip file is at
> http://dl.dropbox.com/u/4673571/PALTALK.ZIP
>
> I plan to work more on these scripts in the near future.
>
> Tony Hernandez
> http://DutyOfMan.net/
> Para oir y bajar la Biblia Sagradas Escrituras Versión Antigua en MP3,
> visite http://dutyofman.net/biblia-audio/
>
>
> -----Original Message-----
> From: jawsscripts-bounce@xxxxxxxxxxxxx
> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Hamid AITOUZNAG
> Sent: Friday, February 25, 2011 4:39 PM
> To: jawsscripts@xxxxxxxxxxxxx
> Subject: [jawsscripts] Re: preventing double speak using RichEditGetText
> function with newTextEvent or SayNonHighlightedTex was RE: Re: editor.jss
in
> homer kit setup zip not opening properly
>
> Thanks a million Tony for your prompt reply!! Please send me the
> executable installer as i have no scripts for the application. I just
> played with the frame veiewer butdidn't have much time to keep
> insisting. Yet I will have a look on your code so that I can learn which
> approach did you choose.
>
> Thanks very much again Tony!
>
> Hamid AITOUZNAG
> "We never value what we have until we lose it!".
>
> Skype: hamidgeni
>
> MSN: hamid.maier@xxxxxxxxxxx
>
>
> On 25/02/2011 21:30, Tony Hernandez wrote:
>    
>> Hello Hamid.
>>
>> The only script I have right now is to read the chat window. I can send
>>      
> you
>    
>> a URL for an executable installer if you want, but if you already have
>>      
> other
>    
>> scripts that you use, I will just send the code I wrote and some
>> instructions instead.
>>
>> Tony Hernandez
>> http://DutyOfMan.net/
>> Para oir y bajar la Biblia Sagradas Escrituras Versión Antigua en MP3,
>> visite http://dutyofman.net/biblia-audio/
>>
>> -----Original Message-----
>> From: jawsscripts-bounce@xxxxxxxxxxxxx
>> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Hamid AITOUZNAG
>> Sent: Friday, February 25, 2011 4:26 PM
>> To: jawsscripts@xxxxxxxxxxxxx
>> Subject: [jawsscripts] Re: preventing double speak using RichEditGetText
>> function with newTextEvent or SayNonHighlightedTex was RE: Re: editor.jss
>>      
> in
>    
>> homer kit setup zip not opening properly
>>
>> Hi tony,
>>
>> I've been following this thread. I noticed just now in this last message
>> of yours that you had the problem with palTalk. I have been using it for
>> some time now but had serious issues following what is going on on the
>> chat window. I tried solving the problem by playing with the frame
>> viewer but had no luck. As i am not a good scripter, I was wondering if
>> you have some tips to share or even more, some scripts to share if you
>> don't mind of course. Anything that would render the application more
>> blind friendly.
>>
>> Thanks a lot for any help
>>
>> All the best
>>
>> Hamid AITOUZNAG
>> "We never value what we have until we lose it!".
>>
>> Skype: hamidgeni
>>
>> MSN: hamid.maier@xxxxxxxxxxx
>>
>>
>> On 25/02/2011 19:38, Tony Hernandez wrote:
>>
>>      
>>> Hi Jim and Jeff.
>>>
>>> The double speak problem is solved. I realized that all I really needed
>>>
>>>        
>> the
>>
>>      
>>> RichEditGetText () function for was to be able to preserve the various
>>> message threads, 1 through 10, in variables so that 1+1 through alt+0
>>>
>>>        
>> would
>>
>>      
>>> read the last thing posted to the chat window, etc. I just told
>>> SayNonHighlightedText () to say the buffer in that window and assign the
>>> window handle of the chat window to a global variable to be retrieved by
>>>
>>>        
>> the
>>
>>      
>>> alt+1 through alt+0 scripts. I had to use the global handle variable
>>>
>>>        
>> because
>>
>>      
>>> there are two of each window in the chatrooms with the same control ID
>>>        
> but
>    
>>> different handles. Blah at that, but now it works. No more being content
>>> with pressing alt+1 and getting only the last line of the chat window!
>>> Someone should really tell the Paltalk programmers to implement MSAA.
>>>        
> It's
>    
>>> not like it's all that hard, right? All they have to do is filling the
>>> accessible name properties, etc., of each window they use and then
expose
>>> them, if I'm not mistaken. I'm sure they are using a .net IDE from the
>>>        
> way
>    
>>> they left some of the buttons with the default label of button1.
>>>
>>> Thank you to Jim, Martin, Jeff, and Jamal for all your help with this
>>> puzzle. I've been struggling with it for years. Also thank you to doug
>>>        
> Lee
>    
>>> for your help. You told me about the GetRichEditDocument () function
>>>        
> about
>    
>>>
>>>        
>> 5
>>
>>      
>>> years ago, and I knew that was the way to go but didn't know how to use
>>>
>>>        
>> it.
>>
>>      
>>> I just couldn't let this go once you told me about that function. If not
>>>
>>>        
>> for
>>
>>      
>>> that, I wouldn't have known what questions to ask, and Jamal might not
>>>
>>>        
>> have
>>
>>      
>>> thought to point me to his Editor interface. Now I can go take a couple
>>>        
> of
>    
>>> Tylenol and try to get rid of this headache.
>>>
>>> Tony Hernandez
>>> http://dutyofman.net/
>>> Let us hear the conclusion of the whole matter: Fear God, and keep His
>>> commandments, for this is the whole duty of man. For God shall bring
>>>        
> every
>    
>>> work into judgment, with every secret thing, whether it be good, or
>>>
>>>        
>> whether
>>
>>      
>>> it be evil. (Ecclesiastes 12:13-14)
>>>
>>>
>>> -----Original Message-----
>>> From: jawsscripts-bounce@xxxxxxxxxxxxx
>>> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Homme, James
>>> Sent: Friday, February 25, 2011 12:49 PM
>>> To: jawsscripts@xxxxxxxxxxxxx
>>> Subject: [jawsscripts] Re: preventing double speak using RichEditGetText
>>> function with newTextEvent or SayNonHighlightedTex was RE: Re:
editor.jss
>>>
>>>        
>> in
>>
>>      
>>> homer kit setup zip not opening properly
>>>
>>> Hi Tony,
>>> I usually start by putting it in new text event to make sure it at least
>>> speaks once. Then I try to move it to say non highlighted text to see if
>>>        
> I
>    
>>> get success. That's because I want my code to run more efficiently if
>>> possible. I have had very little luck with such events as screen
>>>
>>>        
>> stabilized.
>>
>>      
>>> Jim
>>>
>>> -----Original Message-----
>>> From: jawsscripts-bounce@xxxxxxxxxxxxx
>>> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Tony Hernandez
>>> Sent: Friday, February 25, 2011 12:25 PM
>>> To: jawsscripts@xxxxxxxxxxxxx
>>> Subject: [jawsscripts] Re: preventing double speak using RichEditGetText
>>> function with newTextEvent or SayNonHighlightedTex was RE: Re:
editor.jss
>>>
>>>        
>> in
>>
>>      
>>> homer kit setup zip not opening properly
>>>
>>> Hi Jim.
>>>
>>> I'm sorry for not being clear. I'm using one or the other. Right now I'm
>>> trying it with ProcessSpeechOnNewTextEvent (), but that doesn't make it
>>>
>>>        
>> any
>>
>>      
>>> better. It still has multiple speak.
>>>
>>> Tony Hernandez
>>> http://dutyofman.net/
>>> Let us hear the conclusion of the whole matter: Fear God, and keep His
>>> commandments, for this is the whole duty of man. For God shall bring
>>>        
> every
>    
>>> work into judgment, with every secret thing, whether it be good, or
>>>
>>>        
>> whether
>>
>>      
>>> it be evil. (Ecclesiastes 12:13-14)
>>>
>>> -----Original Message-----
>>> From: jawsscripts-bounce@xxxxxxxxxxxxx
>>> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Homme, James
>>> Sent: Friday, February 25, 2011 11:54 AM
>>> To: jawsscripts@xxxxxxxxxxxxx
>>> Subject: [jawsscripts] Re: preventing double speak using RichEditGetText
>>> function with newTextEvent or SayNonHighlightedTex was RE: Re:
editor.jss
>>>
>>>        
>> in
>>
>>      
>>> homer kit setup zip not opening properly
>>>
>>> Hi Tony,
>>> Without being able to test your situation, it sounds like you either
want
>>>
>>>        
>> to
>>
>>      
>>> put this code in new text event or say non highlighted text, but not
>>>        
> both.
>    
>>> Unless I'm reading incorrectly, it sounds like new text event makes it
>>> speak, then say non highlighted text also makes it speak when new text
>>>
>>>        
>> event
>>
>>      
>>> calls it.
>>>
>>> Thanks.
>>>
>>> Jim
>>>
>>> -----Original Message-----
>>> From: jawsscripts-bounce@xxxxxxxxxxxxx
>>> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Tony Hernandez
>>> Sent: Friday, February 25, 2011 10:39 AM
>>> To: jawsscripts@xxxxxxxxxxxxx
>>> Subject: [jawsscripts] preventing double speak using RichEditGetText
>>> function with newTextEvent or SayNonHighlightedTex was RE: Re:
editor.jss
>>>
>>>        
>> in
>>
>>      
>>> homer kit setup zip not opening properly
>>>
>>> Hi Jamal, Martin, and Trouble. Thanks for your help. I got it working
>>>
>>>        
>> using
>>
>>      
>>> a combination of your tips. I must say I'm quite impressed with this
>>>
>>>        
>> little
>>
>>      
>>> interface, not to mention grateful. Now I have a question. I'm scripting
>>>        
> a
>    
>>> chat app that uses a RichEdit control to display the chat text and have
>>> successfully obtained it. Now I want to capture the last string segment
>>> delimited by a carriage return, which is also no problem, but when I
>>>
>>>        
>> modify
>>
>>      
>>> the 2 above fuctions, NewTextEvent or SayNonhighlightedText, I get
double
>>> speak and sometimes more than that. Does anyone have experience/advice
on
>>> how to prevent this. Maybe I should modify a different function or
>>>        
> perhaps
>    
>>> use schedule function. All I do in my code is the following.
>>>
>>> For NewTextEvent
>>> If hwnd != GetFocus ()&&    GetControlID (hwnd) == 202 then
>>> Say (StringSegment (RichEditGetText (hwnd), "\r", -1), OT_No_Disable)
>>>
>>> For the SayNonhighlightedTex function I just check for the control ID
and
>>> call the above Say () function without worrying about the window handle.
>>>
>>> Any advice?
>>>
>>> Tony Hernandez
>>> http://dutyofman.net/
>>> Let us hear the conclusion of the whole matter: Fear God, and keep His
>>> commandments, for this is the whole duty of man. For God shall bring
>>>        
> every
>    
>>> work into judgment, with every secret thing, whether it be good, or
>>>
>>>        
>> whether
>>
>>      
>>> it be evil. (Ecclesiastes 12:13-14)
>>>
>>> -----Original Message-----
>>> From: jawsscripts-bounce@xxxxxxxxxxxxx
>>> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Trouble
>>> Sent: Friday, February 25, 2011 8:43 AM
>>> To: jawsscripts@xxxxxxxxxxxxx
>>> Subject: [jawsscripts] Re: editor.jss in homer kit setup zip not opening
>>> properly
>>>
>>> You might be able to do it if using 12 not 11 of jaws.
>>>
>>> At 05:41 PM 2/24/2011, you wrote:
>>>
>>>
>>>        
>>>> That is puzzling.  I cannot reproduce the problem with JAWS 11.  In any
>>>> case, Editor.jss is a text file so you should be able to open it with
>>>> any editor, not just JAWS Script Manager.
>>>> Jamal
>>>> On Thu, 24 Feb 2011, Tony
>>>> Hernandez wrote:
>>>>
>>>>
>>>>
>>>>          
>>>>> Date: Thu, 24 Feb 2011 17:31:57 -0500
>>>>> From: Tony Hernandez<tonyhspeaks@xxxxxxxxx>
>>>>> Reply-To: jawsscripts@xxxxxxxxxxxxx
>>>>> To: jawsscripts@xxxxxxxxxxxxx
>>>>> Subject: [jawsscripts] editor.jss in homer
>>>>>
>>>>>
>>>>>            
>>>> kit setup zip not opening properly
>>>>
>>>>
>>>>          
>>>>> Hi. Here is the error message  I get.
>>>>>
>>>>>
>>>>> Script Manager
>>>>>
>>>>> Error on line 0 of C:\ProgramData\Freedom
>>>>>
>>>>> Scientific\JAWS\12.0\Settings\enu\editor.JSS:  Couldn't open function
>>>>>
>>>>> file  editor.jsd for reading
>>>>>
>>>>>
>>>>>
>>>>> Then editor.jss appears to open but is blank.
>>>>>
>>>>>
>>>>>
>>>>> Tony Hernandez
>>>>>
>>>>> http://DutyOfMan.net/
>>>>>
>>>>> Para oir y bajar la Biblia Sagradas Escrituras Versión Antigua en MP3,
>>>>> visite http://dutyofman.net/biblia-audio/
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> __________�
>>>>>
>>>>> View the list's information and change your settings at
>>>>> //www.freelists.org/list/jawsscripts
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>            
>>>> __________�
>>>>
>>>> View the list's information and change your settings at
>>>> //www.freelists.org/list/jawsscripts
>>>>
>>>>
>>>>          
>>> Tim
>>> trouble
>>>
>>> "Never offend people with style when you can offend them with
substance."
>>> --Sam Brown
>>>
>>> Blindeudora list owner.
>>> To subscribe or info: //www.freelists.org/webpage/blindeudora
>>>
>>> __________�
>>>
>>> View the list's information and change your settings at
>>> //www.freelists.org/list/jawsscripts
>>>
>>>
>>> __________�
>>>
>>> View the list's information and change your settings at
>>> //www.freelists.org/list/jawsscripts
>>>
>>>
>>> This e-mail and any attachments to it are confidential and are intended
>>> solely for use of the individual or entity to whom they are addressed.
>>>        
> If
>    
>>> you have received this e-mail in error, please notify the sender
>>>
>>>        
>> immediately
>>
>>      
>>> and then delete it.  If you are not the intended recipient, you must not
>>> keep, use, disclose, copy or distribute this e-mail without the author's
>>> prior permission.  The views expressed in this e-mail message do not
>>> necessarily represent the views of Highmark Inc., its subsidiaries, or
>>> affiliates.
>>> __________�
>>>
>>> View the list's information and change your settings at
>>> //www.freelists.org/list/jawsscripts
>>>
>>>
>>> __________�
>>>
>>> View the list's information and change your settings at
>>> //www.freelists.org/list/jawsscripts
>>>
>>> __________�
>>>
>>> View the list's information and change your settings at
>>> //www.freelists.org/list/jawsscripts
>>>
>>>
>>> __________�
>>>
>>> View the list's information and change your settings at
>>> //www.freelists.org/list/jawsscripts
>>>
>>>
>>>
>>>        
>> __________�
>>
>> View the list's information and change your settings at
>> //www.freelists.org/list/jawsscripts
>>
>>
>> __________�
>>
>> View the list's information and change your settings at
>> //www.freelists.org/list/jawsscripts
>>
>>
>>      
> __________�
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
>
> __________�
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
>    
__________�

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts


__________�

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: