[jawsscripts] Re: Extending with Use statement

  • From: "Snowman" <snowman@xxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 9 Nov 2020 14:31:07 -0600

Hey bob,
very curious about that.  Why does teams.jss have to use itself?



+--------------------------------------------------------------------------+
Listen to The Snowman on MushroomFM.com, Saturday evenings, 8PM Eastern 
time.
60's and 70's tunes, and gently conservative talk.

----- Original Message ----- 
From: "Bob" <temp@xxxxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Monday, November 09, 2020 3:23 AM
Subject: [jawsscripts] Extending with Use statement


I am a little stumped.
I am writing some modifications for teams.

I have tried 2 different setups:

Teams.jss with
Use “teams.jsb”
And all my modifications in the teams.jss file.

Teams.jss with
Use “teams.jsb”
Use “teams_modifications.jsb”
And an unused function to stop errors as per Doug’s recommendations.

I would prefer the second option so that I can add further use statements in 
the future to allow me to incorporate additional modifications on a per 
organisation basis without having to create separate script files if I 
update the core that would effect all organisations the scripts are supplied 
to.

The issue I have is that with the exact same code in the use modified file 
as I put in the teams jss I get a huge increase in lag on keypresses. Down 
arrow through the chats list becomes unusable.

Any ideas why this could be or what I might need to do to overcome it?

Thanks

Bob



__________�

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

__________�

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

Other related posts: