[jawsscripts] Anyone use NetLimiter2Pro? JAWS scripts won't work...
- From: "Bryan Garaventa" <bgaraventa11@xxxxxxxxxxxxxx>
- To: <jawsscripts@xxxxxxxxxxxxx>
- Date: Thu, 13 Nov 2008 19:08:34 -0800
Hi, I've been using NetLimiter2Pro for a while now, and wrote the scripts
below, which used to work fine. Now though, the scripts won't load, even
though the program has focus by alt+tabbing into it.
Insert+Q says the correct executable name, but the relevant JSB file will
not load. Anyone know why this might be happening?
; Script Code
include "hjconst.jsh"
const
s_main_class "NetLimiter Main",
s_ie "Internet Explorer_Server"
Void Function FocusChangedEventEx (handle hwndFocus, int nObject, int
nChild, handle hwndPrevFocus, int nPrevObject, int nPrevChild, int
nChangeDepth)
if GetWindowClass (GetFocus ()) != s_ie then
var handle h
let h = FindWindow (GetFocus (), s_ie, "")
SetFocus (h)
endif
FocusChangedEventEx (hwndFocus, nObject, nChild, hwndPrevFocus, nPrevObject,
nPrevChild, nChangeDepth)
EndFunction
Script SetFocus ()
; Assigned Alt+Shift+f
Say ("Setting Focus", 0, false)
if GetWindowClass (GetFocus ()) != s_ie then
var handle h
let h = FindWindow (GetFocus (), s_ie, "")
SetFocus (h)
endif
EndScript
; End of code
__________
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: