compare as you type...

C

Chris Thomasson

I am looking for a way to setup the following environment; please
try to bear with me here...





-- Problem --

I need to recite a speech word-for-word.







-- Proposed Solution --

If I can type it, I can speak it. Therefore, IMVHO, it would be very
beneficial for me if the following requirements can somehow be
fulfilled:

- Create master document of speech; verbatim, no mistakes... Save
it under `master.doc'.


- Create new blank document which is "attached to `master.doc'".


- type in new blank document such that each mistake dynamically
creates a beep and subsequently gets marked in green or
something.






-- Contrived Example (I hope!) --



- master.doc contains the following text:

"Hello world"



- I create a new blank document and attach it to `master.doc'.



- I start typing in the new blank document as follows:

"Hello"


- Everything is fine... However, I continue:

"Hello everybody"



- BANG! A loud DING rings out from the speakers and the following is
displayed:

"Hello <remove>everybody</remove><add>world</add>







That type of functionality would help me out a lot... Can it be programmed
in M$-Word?



Any suggestions?




Thanks for all of your time. I really do appreciate it!


:^)
 
C

Chris Thomasson

[top-post-correction]

[...]


Graham Mayor said:
http://www.gmayor.com/word_text_to_speech.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>


I don't need text-to-speech functionality. What I need is the ability to
dynamically compare an active BLANK document I am typing in with another.
Think of the spell checker. When you make a spelling mistake it
automatically underlines the misspelled word. I would like to create a
master document called `master.doc' containing the following text:

"Hello World"



Then create a BLANK document and attach it to said `master.doc' and begin
typing... Say I type:


"Hello"


and stop. Well, that's fine because the first word in master.doc is indeed
"Hello". Now, I resume typing and add another word:


"Hello everybody"



I would like to be flagged because I made an error! See, the text I typed in
the active blank document is NOT the same as the master. I would like to
hear a BEEP and see something like:


"Hello <remove>everybody</remove><add>World</add>"


This would dynamically allow me to know that I made a mistake when I typed
the word "everybody" when I should have indeed typed "World" instead.




Does this make any sense whatsoever?




Thanks!
 
G

Graham Mayor

We are not psychic! Your original message said "I need to recite a speech
word-for-word." without any further explanation - so that was what you got:
a means to read your text.

Word doesn't have the facility to compare documents in the manner you
envisage. If you want a document with the same text as the original, why not
make a copy of it? Then there will not be any mistakes.

And if you want to be a Usenet nanny, don't expect much cooperation from
those of us who provide our time and expertise here for free.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>


Chris said:
[top-post-correction]

[...]


Graham Mayor said:
http://www.gmayor.com/word_text_to_speech.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>


I don't need text-to-speech functionality. What I need is the ability
to dynamically compare an active BLANK document I am typing in with
another. Think of the spell checker. When you make a spelling mistake
it automatically underlines the misspelled word. I would like to
create a master document called `master.doc' containing the following
text:
"Hello World"



Then create a BLANK document and attach it to said `master.doc' and
begin typing... Say I type:


"Hello"


and stop. Well, that's fine because the first word in master.doc is
indeed "Hello". Now, I resume typing and add another word:


"Hello everybody"



I would like to be flagged because I made an error! See, the text I
typed in the active blank document is NOT the same as the master. I
would like to hear a BEEP and see something like:


"Hello <remove>everybody</remove><add>World</add>"


This would dynamically allow me to know that I made a mistake when I
typed the word "everybody" when I should have indeed typed "World"
instead.



Does this make any sense whatsoever?




Thanks!
 
D

Doug Robbins - Word MVP

[bottom-post correction]

I don't need text-to-speech functionality. What I need is the ability to
dynamically compare an active BLANK document I am typing in with another.
Think of the spell checker. When you make a spelling mistake it
automatically underlines the misspelled word. I would like to create a
master document called `master.doc' containing the following text:

"Hello World"



Then create a BLANK document and attach it to said `master.doc' and begin
typing... Say I type:


"Hello"


and stop. Well, that's fine because the first word in master.doc is indeed
"Hello". Now, I resume typing and add another word:


"Hello everybody"



I would like to be flagged because I made an error! See, the text I typed
in
the active blank document is NOT the same as the master. I would like to
hear a BEEP and see something like:


"Hello <remove>everybody</remove><add>World</add>"


This would dynamically allow me to know that I made a mistake when I typed
the word "everybody" when I should have indeed typed "World" instead.




Does this make any sense whatsoever?




Thanks!

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

Chris Thomasson said:
[top-post-correction]

[...]


Graham Mayor said:
http://www.gmayor.com/word_text_to_speech.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
J

Jean-Guy Marcil

Graham Mayor said:
We are not psychic! Your original message said "I need to recite a speech
word-for-word." without any further explanation - so that was what you got:
a means to read your text.

Word doesn't have the facility to compare documents in the manner you
envisage. If you want a document with the same text as the original, why not
make a copy of it? Then there will not be any mistakes.

Becaue he wants to use the typing as an act to help him memorize the
original text. So, as he types, he can see all the deviation from the
original.

I would suggest that he uses the Compare/Merge feature instead. Much easier.
And if you want to be a Usenet nanny, don't expect much cooperation from
those of us who provide our time and expertise here for free.

Hear hear!
 
C

Chris Thomasson

[top post correction]
[...]

Graham Mayor said:
We are not psychic! Your original message said "I need to recite a speech
word-for-word." without any further explanation - so that was what you
got: a means to read your text.

Humm... Try re-reading the post:

http://groups.google.com/group/microsoft.public.word.programming/msg/1b8448e5f28959c9

Apparently you only read up to the text under the "-- Problem --" section
and abruptly stopped. If you actually continue reading, well, you will get a
further explanation indeed...



Word doesn't have the facility to compare documents in the manner you
envisage.

Well, I think I am going to have to program this myself. Luckily, I am
comfortable with C and Windows API. I was only wondering if I could do this
in Word because it would be oh so much easier.



If you want a document with the same text as the original, why not make a
copy of it? Then there will not be any mistakes.

That's not going to be able to provide the functionality I am thinking
about.



And if you want to be a Usenet nanny

A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

that is why I tend to correct top-posts: It makes the conversation easier to
read.



don't expect much cooperation from those of us who provide our time and
expertise here for free.

Okay.
 
C

Chris Thomasson

Jean-Guy Marcil said:
Becaue he wants to use the typing as an act to help him memorize the
original text. So, as he types, he can see all the deviation from the
original.

I would suggest that he uses the Compare/Merge feature instead. Much
easier.

Well, that works, unfortunately, its not exactly what I need. AFAICT, I need
to type out the whole document, then perform the compare in order to see any
mistakes I have made. I would like to be dynamically notified about mistakes
on a word-for-word basis as I type. It looks like this is going to be
impossible to program in Word-VBA.

;^(...
 
C

Chris Thomasson

Chris Thomasson said:
Well, that works, unfortunately, its not exactly what I need.



AFAICT, I need to type out the whole document, then perform the compare in
order to see any mistakes I have made.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

That sounds a bit confusing and/or contradictory; let me re-write it:

`AFAICT, the compare/merge feature would basically make me type out the
whole document, then perform the compare in order to see any mistakes I have
made. '



I would like to be dynamically notified about mistakes on a word-for-word
basis as I type. It looks like this is going to be impossible to program
in Word-VBA.

;^(...

Humm... Well, I guess I could do it on a paragraph-by-paragraph basis. In
other words, type a paragraph, then perform the compare, and repeat. Not
exactly what I wanted, but I think it may be good enough. Still, I do think
that the functionality I originally proposed could "possibly" be of service
to anybody who needs to remember a fairly large amount of text verbatim.



 
D

Doug Robbins - Word MVP

Around here it will earn you the tag of "Net Nanny"

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

Chris Thomasson said:
Doug Robbins - Word MVP said:
[bottom-post correction]

Correcting top-posts in USENET is normal; sorry about that.
 
C

Chris Thomasson

Doug Robbins - Word MVP said:
Around here it will earn you the tag of "Net Nanny"
:^o



--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

Chris Thomasson said:
Doug Robbins - Word MVP said:
[bottom-post correction]

Correcting top-posts in USENET is normal; sorry about that.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top