473,609 Members | 2,134 Online
Bytes | Software Development & Data Engineering Community
+ 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******** ************@po wergate.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 1398
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*******@redi ffmail.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
2994
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 trying to login with correct credentials it give me error: Server Error in '/PDVMgr' Application. ----------------------------------------------------------------------------
0
1206
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. May you help me to solve this issue ? -- C.Thach
7
2508
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 a network drive. There is a requirement to be able to check spelling using some industry specific abbreviations, words, etc. I would like to change the dictionary to a common one that is located on the network in the same place as the back end...
2
1777
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
1075
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 search form obviously must access the text in the editing form, but I'm not having any luck doing that. I've done a few multiple-form projects, where one form opens another form, and then gets or sets values in that other form, but something
3
2265
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 VS.NET 2005, is there an extra .NET assembly that I need to include with the project to make it function properly? I ask because I tried running on a different machine with word and it said that the assembly wasn't found even though Word is...
0
975
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 number of web site, like even try the microsoft word spelling checker, but those "third party" dll all are automated poping out those dialog, which not suitable for my project. the word.dll ( SpellCheck.net) is only one which can fullfill me, but some...
1
1603
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 different items that can be used, but I'm not sure how to use them.. "checkSpelling" and "spellingSuggestion(s)".. Can anyone point me in the right direction here. I'm not sure how to iterate through a single textbox and check each word listed in...
1
3077
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 confused when set to Engish (United Kingdom). Basically parts of words spelt correctly get underlined, it is though it has got confused over where words begin and end. I have tried un-installing and reinstalling .NET. And tested on 5
0
8067
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8567
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8215
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5509
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4015
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4076
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2529
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1380
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.