[jawsscripts] Re: Passing Keystrokes to another application

Thanks David,

Works great!  Of course the video screen blinks when setting the focus to 
the full screen window behind the video window.  Perhaps, I can use this 
trick on my Verizon application as well, where I have trouble reliably 
switching back from the SignIn helper application.

Don Marang


----- Original Message ----- 
From: "David Farough" <David.Farough@xxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Tuesday, April 21, 2009 12:54 PM
Subject: [jawsscripts] Re: Passing Keystrokes to another application


> Hi Don:
>
> Perhaps a couple of entries in the confignames.ini file will help you.
>
> It sounds to me like you are saying, that each of these windows is
> associated with a different application file or resource.  If this is
> the case, you can specify an entry in the confignames.ini file for each
> of these resources.
>
> so for instance, you could create the following entries for this
> application;
> _wingdi=DirectTV
> quartz=DirectTV
>
> Now you can create a script file called DirectTV.jss  and create
> scripts for the various hotkeys.
> For your purposes, you could create a global variable to store the
> handle for the main window.  You could set this variable when the
> application first gains focus.  AutoStartEvent would probably be a good
> place to do this.
> In each of your hotkey scripts you could
> then use SetFocus to temperarily set the focus to the main window and
> then perform the appropriate keystroke.
> HTH
>
>
>
> David Farough
> Application Accessibility Coordinator/coordonateur de l'accessibilité
> Information Technology Services Directorate /
> Direction des services d'information technologiques
> Public Service Commission / Commission de la fonction publique
> Email / Courriel:  David.Farough@xxxxxxxxxxxxx
> Tel. / Tél:    (613) 992-2779
>
>>>> "Donald Marang" <donald.marang@xxxxxxxxx> 10:12 am Tuesday, April
> 21, 2009 >>>
> Hi listers,
> I have another project.  DirecTV has an application that runs on your
> PC and lets you watch programs recorded on their R22 DVR.  The problem I
> am having is that the main screen is like Windows Media Center and uses
> the full screen.  When viewing a recorded show in standard definition
> (SD), a separate window appears in front that contains the video.  This
> window owner is quartz.dll.  Unfortunately, the audio and hotkeys for
> playback control are only available when the main window, _wingdi.exe,
> is in the foreground!
>
> Is there a way to write scripts for quartz.dll that can pass keystrokes
> like Control +p to pause the show to the main window, _wingdi.exe?
>
> Don Marang
>
>
> __________
> Visit and contribute to The JAWS Script Repository
> http://jawsscripts.com
>
> View the list's information and change your settings at
> http://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
> http://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 
http://www.freelists.org/list/jawsscripts

Other related posts: