Right on Doug, thanks much for the explanation of manually changing the
SkypeWatch command below so it'll stick indeed and not automatically be
overwritten. appreciate it.

-----Original Message-----
From: Skypeenglish [mailto:[email protected]] On
Behalf Of Doug Lee
Sent: Monday, August 11, 2014 2:29 PM
To: screen readers' access to skype and its interface.
Subject: Re: [Skypeenglish] Problem with Skype Scripts and Default.JSS

Ordinarily that is enough to change a script's keystroke. For
SkypeWatch though, I can't distribute a copy of default.jkm because I
might then erase stuff users set up for themselves. So I made the
script code set those keystrokes. This means that if you change them
in default.jkm manually, the scripts will come along and re-add the
original assignments. To prevent that requires changes to
skypewatch.jss in the SkypeWatch__setKeys() function.

On Mon, Aug 11, 2014 at 02:15:45PM -0700, Smiling? wrote:
So it would seem, that a user could just go into the default.JKM file and
changing,
alt+shift+f9=swSayAlert

to whatever other keystroke that they wanted (realizing of course, that not
just anything can be used simply based upon the shortcut keys for Windows
alone say), but would this be the way to change the SkypeWatch keystroke
command?

Example keystroke:
x+y=swSayAlert

-----Original Message-----
From: Skypeenglish [mailto:[email protected]] On
Behalf Of Doug Lee
Sent: Monday, August 11, 2014 6:56 AM
To: screen readers' access to skype and its interface.
Subject: Re: [Skypeenglish] Problem with Skype Scripts and Default.JSS

Sounds like a couple things are going on here, though from what's
written in this thread, I can't be certain of all of this.

First, here's what I do know:

The Skype script installer will not change anything in the JAWS shared
folder, which is the one under ProgramData. I always recommend against
people and installers doing this, as it can break JAWS updates and
other things.

The Skype script installer does modify default.jss/jsb in the JAWS
user folder, where all custom scripts go. It does not actually replace
the file though, and if it does not recognize the structure of that
file before installation, it aborts with an error message. This is why
people who end up somehow with a copy of default.jss from the shared
folder in the user folder get errors when trying to install the Skype
scripts.

I have told people who get that error to delete default.jss/jsb from
the user folder and try running the Skype installer again, if they are
sure there is nothing important or not from Freedom Scientific in that
file already. The effect of deleting default.jss/jsb from the user
folder and then running the Skype script installer would be to replace
default.jss and default.jsb with the little version that the Skype
scripts manage.

The little void function you saw, which should be called filler(), is
something the Skype script installer puts there, in order to make
older JAWS versions compile that file without errors. It only puts
that function there if default.jss/jsb don't exist already when the
installer runs, though.

The Skype script installer itself does not modify default.jkm in
either the shared or the user folder. The Skype scripts themselves,
though, do plant a couple of SkypeWatch keystrokes in the user-folder
version of default.jkm. They do not delete any existing key
assignments, though if you had the SkypeWatch keys assigned to
something else, the assignments for those specific keys may be changed
to work as SkypeWatch keys. The key assignments managed by the scripts
are these, both in the Common Keys section:

alt+shift+f9=swSayAlert
Control+ScrollLock+F9=swSayAlert 

The Skype scripts and installer will not change any other assignments
in default.jkm.

So after all that, here's what I'm guessing happened:

I'm guessing that someone or another script installer modified
default.jss in the JAWS shared folder, no idea how long ago. I'm
guessing that a copy of this modification also ended up in the user
folder, which happens automatically if you use the JAWS Script Manager
to compile a shared-folder file. I'm guessing that someone then
deleted the user-folder copy before running the Skype script
installer, which would have the effect of creating a new, small
default.jss in the user folder, just like you saw. I'm not sure what
actually happened to your default.jkm file, as I don't know what
specific changes you saw there.

As to how to get things back:

If there are important changes in the default.jss file in the shared
folder, save that file somewhere before you next do a JAWS update or
repair. If possible though, I recommend a JAWS repair to reset all of
the shared-folder files to their original contents.

If you know what created your default.jss, before it became short and
sported the filler() function, see if that process left a backup of
the file in a subfolder under your JAWS user folder.

You can, as already advised in this thread, install the Skype scripts
manually if you like; however, due to complexities in setting up
SkypeWatch functionality, I tend to recommend against this.

To let the installer work properly, I suggest moving, or backing up
and then removing, the default.jss, default.jsb, and default.jsd files
in the user folder. Do not alter anything in the shared folder here.
Once you have cleared those files out of the way, the installer should
work fine. Finally, if you originally had scripts loaded by
default.jss besides SkypeWatch, and it was done via Use lines, you
should be able to add those lines to the new default.jss created by
the Skype script installer.

The above procedure does not work well with scripts that want to plant
actual code, as opposed to the empty filler() function and simple Use
lines, in default.jss. This is why I made the installer abort on
finding a default.jss that contains anything other than that.

I hope this helps.

On Mon, Aug 11, 2014 at 07:49:58AM -0400, Steve Matzura wrote:
I figured out what happened.  A new default.jss was created in the
JAWS settings\enu directory, and the default.jss in "program
data\Freedom Scientific\JAWS\14..." directory got modified.

On Mon, 11 Aug 2014 05:13:02 -0400, you wrote:

>I installed the latest scripts and have found that my old JAWS
>default.jss file has been replaced with a short file with one void
>function in it. Further, I think my old default.jkm has been replaced
>as well, because some of the default key assignments that were tied to
>making other things work appear to have reverted back to default JAWS
>behavior. What to do?
>Thanks for posting to the skype english list.
>
>to contact skype support with any questions regarding your account email
[email protected]
>
>To  access scripts for the latest version of skype go to
>http://www.dlee.org/skype
>
>
>To contact the list owner send a message to
>mailto:[email protected]
>
>and for a searchable archives page go here.
>http://bit.ly/64Y48
>
>thanks and have a wonderful day.
>
>_______________________________________________
>Skypeenglish mailing list
>[email protected]
>http://lists.tffppodcast.com/listinfo.cgi/skypeenglish-tffppodcast.com
Thanks for posting to the skype english list.

to contact skype support with any questions regarding your account email
[email protected]

To  access scripts for the latest version of skype go to
http://www.dlee.org/skype


To contact the list owner send a message to
mailto:[email protected]

and for a searchable archives page go here.
http://bit.ly/64Y48

thanks and have a wonderful day.

_______________________________________________
Skypeenglish mailing list
[email protected]
http://lists.tffppodcast.com/listinfo.cgi/skypeenglish-tffppodcast.com

-- 
Doug Lee                 [email protected]                http://www.dlee.org
SSB BART Group           [email protected]
http://www.ssbbartgroup.com
"I am a leader by default, only because nature does not allow a vacuum."
Bishop Desmond Tutu
Thanks for posting to the skype english list.

to contact skype support with any questions regarding your account email
[email protected]

To  access scripts for the latest version of skype go to
http://www.dlee.org/skype


To contact the list owner send a message to
mailto:[email protected]

and for a searchable archives page go here.
http://bit.ly/64Y48

thanks and have a wonderful day.

_______________________________________________
Skypeenglish mailing list
[email protected]
http://lists.tffppodcast.com/listinfo.cgi/skypeenglish-tffppodcast.com

Thanks for posting to the skype english list.

to contact skype support with any questions regarding your account email
[email protected]

To  access scripts for the latest version of skype go to
http://www.dlee.org/skype


To contact the list owner send a message to
mailto:[email protected]

and for a searchable archives page go here.
http://bit.ly/64Y48

thanks and have a wonderful day.

_______________________________________________
Skypeenglish mailing list
[email protected]
http://lists.tffppodcast.com/listinfo.cgi/skypeenglish-tffppodcast.com

-- 
Doug Lee                 [email protected]                http://www.dlee.org
SSB BART Group           [email protected]
http://www.ssbbartgroup.com
"The nice thing about standards is that there are so many of them
to choose from." -- Andrew Tanenbaum
Thanks for posting to the skype english list.

to contact skype support with any questions regarding your account email
[email protected]

To  access scripts for the latest version of skype go to
http://www.dlee.org/skype


To contact the list owner send a message to
mailto:[email protected]

and for a searchable archives page go here.
http://bit.ly/64Y48

thanks and have a wonderful day.

_______________________________________________
Skypeenglish mailing list
[email protected]
http://lists.tffppodcast.com/listinfo.cgi/skypeenglish-tffppodcast.com

Thanks for posting to the skype english list.

to contact skype support with any questions regarding your account email 
[email protected]

To  access scripts for the latest version of skype go to
http://www.dlee.org/skype


To contact the list owner send a message to
mailto:[email protected]

and for a searchable archives page go here.
http://bit.ly/64Y48

thanks and have a wonderful day.

_______________________________________________
Skypeenglish mailing list
[email protected]
http://lists.tffppodcast.com/listinfo.cgi/skypeenglish-tffppodcast.com

Reply via email to