[jawsscripts] Re: Difficulty scripting McTwit

  • From: Jim Bauer <holdsworthfan@xxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Mon, 15 Jun 2009 12:12:24 -0500

You can make Unknown work for you here:
switch to the mctwit configuration in the autoStartEvent of
wx._core_.jss. Also include therein an unknown function that looks in
mctwit.jkm (via iniReadString) for the keystroke(s) it has been
passed, then types the findings.

HTH
 Original message
from: Jamal Mazrui <empower@xxxxxxxxx>
subject: [jawsscripts] Re: Difficulty scripting McTwit
date: Mon, 15 Jun 2009 12:19:54 -0400 (EDT)

>I have tried that as well, without success.  Good suggestion though.
>
>Jamal
>On Mon, 15 Jun 2009,
>Bryan Garaventa wrote:
>
>> Date: Mon, 15 Jun 2009 09:11:18 -0700
>> From: Bryan Garaventa <bgaraventa11@xxxxxxxxxxxxxx>
>> Reply-To: jawsscripts@xxxxxxxxxxxxx
>> To: jawsscripts@xxxxxxxxxxxxx
>> Subject: [jawsscripts] Re: Difficulty scripting McTwit
>>
>> You've likely already tried this, but does the old method for passing keys
>> through work? For instance
>> {alt+t}
>>
>> ----- Original Message -----
>> From: "Jamal Mazrui" <empower@xxxxxxxxx>
>> To: <JAWSScripts@xxxxxxxxxxxxx>
>> Sent: Monday, June 15, 2009 8:15 AM
>> Subject: [jawsscripts] Difficulty scripting McTwit
>>
>>
>> > As you may know, I develop a Twitter client called McTwit, whose installer
>> > is available at
>> > http://EmpowermentZone.com/mtsetup.exe
>> >
>> > Although I try to make the application as keyboard and screen
>> > reader-friendly as possible, sometimes there are ways that it may be
>> > enhanced in ways that are not presently practical through my coding alone.
>> > I wish to promote collaboration in this and other open source projects, so
>> > will work with anyone wanting to make a contribution that offers
>> > additional features.
>> >
>> > I'm writing now in the hope that someone on this list may be able to
>> > resolve why JAWS does not recognize scripted keys for McTwit.  Brian
>> > Hartgen and others on Twitter have suggested alternative hotkeys for
>> > McTwit that work like an email interface.  At present, I am implementing
>> > hotkeys only by means of the Windows dialog engine, which automatically
>> > provides hotkeys of an Alt+Letter nature when the & character is used in
>> > the label of a button.  With some email-like alternatives, one could also
>> > do, say, Control+N for a new tweet (rather than Alt+T), Control+R for a
>> > direct reply, and Control+Shift+R for a public reply (like "replying to
>> > all").
>> >
>> > To our surprise, Brian Hartgen and I have not been able to implement this
>> > with normal JAWS scripting techniques, e.g.,
>> >
>> > Script NewTweet()
>> > TypeKey("Alt+T")
>> > EndScript
>> >
>> > where the .jkm file contains
>> > Control+N=NewTweet
>> >
>> > This is why Brian has been trying to use the key pressed event, with
>> > unsatisfactory results so far.
>> >
>> > I asked Jeff Bishop if he could implement similar functionality with
>> > Window-Eyes scripting, and he has done so in a script package available at
>> >
>> > http://www.gwmicro.com/Script_Central/Scripts/Script_Details/?scriptid=1244
>> >
>> > Can anyone help us get this working with JAWS?  Although the main
>> > executable is McTwit.exe, Insert+Q reports that a GUI-related DLL is
>> > active when McTwit is the active window.  Still, JAWS should be able to
>> > script such an application, as it does for others with DLLs that assist
>> > the primary executable.  I don't know if this might be a problem, but the
>> > DLL has a Python related suffix, rather than the traditional .dll.  The
>> > AutoStart event does trigger whenever McTwit is the active window, but
>> > scripts are not recognized.
>> >
>> > Suggestions, anyone?
>> >
>> > Jamal
>> >
>> > __________
>> > Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>> >
>> > View the list's information and change your settings at
>> > //www.freelists.org/list/jawsscripts
>> >
>>
>> __________ 
>> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>>
>> View the list's information and change your settings at
>> //www.freelists.org/list/jawsscripts
>>
>__________ 
>Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
>View the list's information and change your settings at 
>//www.freelists.org/list/jawsscripts

__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: