473,486 Members | 2,136 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Spellcheck an application (from below)

It is a database application that has a window where the user can write
letters to patients.
That is the area that I want to spellcheck. Any ideas how I can do this?

Thanks again.
"Peter Hansen" <pe***@engcorp.com> wrote in message
news:TL********************@powergate.ca...
Evan McPeters wrote:
I need to develop a program that will spell check a word processing window that is open in another application. I do not have access to the the API or any other code for this application, so I was hoping that the spell checker could simply do it's job on whatever the user's active window is.

Does this make sense. Does anyone have an idea about how to start this.


What is this 'other application' ?


Jul 18 '05 #1
2 1391
Evan McPeters wrote:
It is a database application that has a window where the user can write
letters to patients.
That is the area that I want to spellcheck. Any ideas how I can do this?

Thanks again.
I need to develop a program that will spell check a word processing windowthat is open in another application. I do not have access to the the API orany other code for this application, so I was hoping that the spell checkercould simply do it's job on whatever the user's active window is.
Does this make sense. Does anyone have an idea about how to start this.

What is this 'other application' ?


Try
http://aspn.activestate.com/ASPN/Coo.../Recipe/117221
http://www.scriptfoundry.com/snake/s...ll/snakespell/

You could use COM if you are on Windows and the users will have MS Word
installed on their system.

There are other ActiveX components available on the web that you can try
if users do not have MS Word installed.
Jul 18 '05 #2
John <jo*******@rediffmail.com> wrote:
Try
http://aspn.activestate.com/ASPN/Coo.../Recipe/117221
http://www.scriptfoundry.com/snake/s...ll/snakespell/


For the spell checking you could use our wrapper for ASpell found at
http://sourceforge.net/projects/uncpythontools.

To get access to the text in your applications text control will be a
trick. Our python tools for using the MS Active Accessibility
interface might be helpful. You can find it at
http://sourceforge.net/projects/uncassist. You can find some notes on
using it at http://www.cs.unc.edu/~parente/tech/tr01.shtml.

If you can find the "handle" for the window, you should be able to
both read and modify the text therein. pyAA will allow you to explore
the tree of window handles to find it.

The pywin32 at http://sourceforge.net/projects/pywin32/ also includes
lots of tools for exploring the Windows interface via COM.

What you have is a tricky Windows API problem, not really a Python
problem. Though I believe you can solve it efficiently with Python.

gb
Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
2966
by: Marina Anufreichik | last post by:
Hi, After deploymnet web application on web server I can access page on local machine and login fine but when I'm trying to access web site from remote machine I can see login page, but when I'm...
0
1196
by: CamThach | last post by:
Hi, I use spellcheck of word automation in C#,it run OK but whenever the spellcheck dialog of word is shown ,it hide(minimize) the main form of my application. I don't know how to fix this issue....
7
2494
by: james | last post by:
Hello, I have an Access 2K application that several users on a network will be working with. They will each have a copy of the "front-end" and will link to a common "back-end" database located on...
2
1769
by: Liz | last post by:
There is a need to use "spellcheck" in our application. Can anyone point me in the right direction/give me a clue of how to go about this. Liz
3
1072
by: trebor | last post by:
How does the interaction of forms in functions like FindText work? I'm talking only about the interaction of the forms and how they exchange data. For example, when you search for text, the...
3
2252
by: Ben R. | last post by:
Hi, I'm trying to take advantage of Word's spellchecker from a vb.net app. I get this to work but I have a lot of questions about deployment. First, after I add the appropriate COM reference in...
0
961
by: XJ | last post by:
All experts, recently im doing .net project, which need the spelling checking, the requirement need to return the suggestion words, could be collection, could be array, i have gone thru some...
1
1590
by: delusion7 | last post by:
I want to check the spelling of words typed into a textbox.. I added a reference to the "Microsoft Word 11.0 Object Library".. but, I'm not sure how to use the spellcheck. There's a couple...
1
3072
by: H-S | last post by:
Help! I am trying to use the Windows.Controls.TextBox with spellcheck turned on. It works fine if my keyboard input language is set to English (United States). But the spellcheck starts to get...
0
7100
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6964
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7126
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7175
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7330
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4865
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
262
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.