[jawsscripts] Re: scripting question

  • From: Doug Lee <doug.lee@xxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Thu, 30 Jul 2015 12:45:24 -0400

Interesting! That function calls an apparently internal but
undocumented IniWriteSectionEx function, which writes an entire
section with all its values from a string that, I think from a quick
glance, looks like "key1=val1|key2=val2|key3=val3..."

On Thu, Jul 30, 2015 at 11:39:27AM -0500, Roth wrote:
At least in JAWS 15 and 16 there is a script file used in the default.jss
scripts called FileIO, FileIO.jss and FileIO.jsb. It says it is to read/write
collections. Anyone looked at this? It may be a built in solution.

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jim Snowbarger
Sent: Thursday, July 30, 2015 11:31 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: scripting question

The alternative that Andrew Hart did for HSC provides functions whose
interfaces look exactly like the jaws INI functions, same arguments etc.
The only difference is that the function names start with HNI, instead of INI.
So, it is pretty easy to start using it.
And, I'm no longer certain, but I think the JAWS ini stuff doesn't have support
for reading and writing the entire section as a string.

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Panes, James
Sent: Thursday, July 30, 2015 7:57 AM
To: 'jawsscripts@xxxxxxxxxxxxx' <jawsscripts@xxxxxxxxxxxxx>
Subject: [jawsscripts] Re: scripting question

I wrote it as a JAWS script file. To give access to it, I add a "Use" statement
at the top of the JAWS script file that needs access to it.
There is a readFile function that returns the contents of the INI file in a
text string, a WriteFile function that writes the text string to the ini file
and one analog for each of the INIRead and INIWrite JAWS functions that takes
the text string as an argument instead of the path to the INI file.
I'll send you a copy of the source and documentation file if you write to me
off-line.
Regards,
James
james.panes@xxxxxxx
James Panes | TSARBC IT Accessibility, JAWS Scripting & Royal Class
Toastmasters Club President, Enterprise Architecture Office (EAO) | Technology
& Operations | RBC Royal Bank | 416-348-4214

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Geoff Chapman
Sent: Wednesday, July 29, 2015 8:25 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: scripting question

Yes, James, I see your point.

It only just twigged to me as well, that your mention of a "library", may've
referred to precisely the same thing, a dynamic link library dll, that we were
talking about Andrew having written for HSC!
:)

So, given that you are up here, and Andrew isn't, perhaps you and Dang might
like to work together on his implementation of your version?

if for some reason this isn't possible Dang, it sounds like from what Jim S has
helpfully contributed in his posts, that Presumably, granted his permissions,
Which I could ask him for if you need, you could perhaps utilize Andrew Hart's
version, filenames: HSCSrvr.dll, and HSCSrvr_x64.dll, inside the HotSpotClicker
package contents.

Let us know what you are able to work out with James though first I guess?


----- Original Message -----
From: "Panes, James" <james.panes@xxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Wednesday, July 29, 2015 11:19 PM
Subject: [jawsscripts] Re: scripting question


Even if this bug were fixed, in circumstances where multiple reads and
writes are required for the same file, the whole thing goes much
faster if the file is manipulated in memory as a string until you are done
with it.
Less reading from and writing to disk.
James:
james.panes@xxxxxxx
James Panes | TSARBC IT Accessibility, JAWS Scripting & Royal Class
Toastmasters Club President, Enterprise Architecture Office (EAO) |
Technology & Operations | RBC Royal Bank | 416-348-4214

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Doug Lee
Sent: Wednesday, July 29, 2015 9:14 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: scripting question

I seem to remember being told it's a Windows level thing, inasmuch as
JAWS just calls Windows API functions for this. I wrote it off as
unfixable years ago, but of course I could be wrong.

On Wed, Jul 29, 2015 at 10:53:57PM +1000, Geoff Chapman wrote:
It would be jolly nice if FS fixed this ini file writing bug would not it?

Doug, couldn't you perhaps encourage them to make it a priority?

Do they listen to you?
Do you have any relations with John Carson or Eric up there?



----- Original Message -----
From: "Doug Lee" <doug.lee@xxxxxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Tuesday, July 28, 2015 11:48 PM
Subject: [jawsscripts] Re: scripting question


Try iniFlush(), but I generally find that writing a lot of things to
an ini file rapidly is not reliable. Never figured out why.

On Tue, Jul 28, 2015 at 08:42:12PM +0700, Dang Manh Cuong wrote:
To all listers
I wrote a script that collects info, write it to an *.ini file, then
call DLGSelectItemInList to display it. the script wrote over 50 line
to 5 section of my Ini file. However, the dialog always displays
before completing write to *.ini file. Although, I set false for each
info I collected, accept the last line. are there any typs, or
function to make sure the Ini file has been successfully written
before adding it to DLGSelectItemInList function?
Any help would be appreciated.
-------------------
Dang Manh Cuong
The Assistive technology specialist
Sao Mai Vocational and assistive center for the blind
74/17 Bui Quang La, ward 12, Go Vap Dst, HCMC, Vietnam
Tel: +84862573309
E-mail: vanphong@xxxxxxxxxxxxxxxxxx; congnghe@xxxxxxxxxxxxxxxxxx
Facebook: https://www.facebook.com/SaoMaiCenter
Website: http://www.trungtamsaomai.org; http://www.saomaicenter.org
Mobile / Zalo: +84 902-572-300
E-mail: dangmanhcuong@xxxxxxxxx; cuong@xxxxxxxxxxxxxxxxxx Yahoo! ID:
manhcuong0312 Skype name: dangmanhcuong
facebook: http://facebook.com/dangmanhcuong
Twitter: @ManhCuongTech
Website: http://ngoisaodanduong.com
Projec-Website: http://dangmanhcuong.googlecode.com
__________???

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

--
Doug Lee, Senior Accessibility Programmer SSB BART Group -
Accessibility-on-Demand mailto:doug.lee@xxxxxxxxxxxxxxxx
http://www.ssbbartgroup.com "While they were saying among themselves
it cannot be done, it was done." --Helen Keller __________???

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



__________???

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

--
Doug Lee, Senior Accessibility Programmer SSB BART Group -
Accessibility-on-Demand mailto:doug.lee@xxxxxxxxxxxxxxxx
http://www.ssbbartgroup.com "While they were saying among themselves
it cannot be done, it was done." --Helen Keller __________???

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


______________________________________________________________________
_ If you received this email in error, please advise the sender (by
return email or otherwise) immediately. You have consented to receive
the attached electronically at the above-noted email address; please
retain a copy of this confirmation for future reference.

Si vous recevez ce courriel par erreur, veuillez en aviser
l'exp??diteur imm??diatement, par retour de courriel ou par un autre
moyen. Vous avez accept?? de recevoir le(s) document(s) ci-joint(s) par
voie ??lectronique ?? l'adresse courriel indiqu??e ci-dessus; veuillez
conserver une copie de cette confirmation pour les fins de reference future.
__________

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


__________

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


_______________________________________________________________________
If you received this email in error, please advise the sender (by return email
or otherwise) immediately. You have consented to receive the attached
electronically at the above-noted email address; please retain a copy of this
confirmation for future reference.

Si vous recevez ce courriel par erreur, veuillez en aviser l'exp??diteur
imm??diatement, par retour de courriel ou par un autre moyen. Vous avez
accept?? de recevoir le(s) document(s) ci-joint(s) par voie ??lectronique ??
l'adresse courriel indiqu??e ci-dessus; veuillez conserver une copie de cette
confirmation pour les fins de reference future.
__________

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




__________

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


__________???

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

--
Doug Lee, Senior Accessibility Programmer
SSB BART Group - Accessibility-on-Demand
mailto:doug.lee@xxxxxxxxxxxxxxxx http://www.ssbbartgroup.com
"While they were saying among themselves it cannot be done,
it was done." --Helen Keller
__________�

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

Other related posts: