[jawsscripts] Re: Proper Way to Merge Functions in Default

  • From: Jamal Mazrui <empower@xxxxxxxxx>
  • To: JAWSScripts@xxxxxxxxxxxxx
  • Date: Mon, 23 Mar 2009 15:36:30 -0500 (EST)

I do not have an answer for the event question, other than perhaps looking
for and searching the .jss source to see if that function has already been
defined on the user's system (a hack, of course).

Unfortunately, merge scripts do need to be installed again after FS
updates JAWS.  This is because they reference a copy that was made of the
FS script file, e.g., default_fs.jsb.  Running the same JSX installer
package again should work (uninstalling scripts should not be necessary).

Jamal

--Original Message --
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Donald Marang
Sent: Friday, March 13, 2009 8:30 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Proper Way to Merge Functions in Default

My program requires a single line to be added to a WindowActivatedEvent
default level function.  My problem is that I do not know if the user
installing the scripts has a WindowActivatedEvent function in their
default scripts file or not.
I had the function repeated as shown below in my file to be merged with
default.  I don't want to override any other actions that might be defined
in their default scripts file.  I think the FS default has a function to
check for an AOL login.  What is the proper way to handle this?

Void Function WindowActivatedEvent (handle hWnd)

CheckForToast (hWnd)

WindowActivatedEvent (hWnd)

EndFunction



PS  What happens to these merged scripts when FS provides an update like
they did this week?  Would these files need to be merged again?

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

Other related posts: