Jump to content

Spellcheck not refocusing on window


Zaxon
 Share

Recommended Posts

I'm trying out JdeB's spellcheck, which I think is a pretty cool feature being able to tap into word's spellcheck facility outside of word.

On my system, however, I found that the original window from which the selected text came, wasn't refocused on properly, and hence the clipboard paste went nowhere.

In my case I used:

. notepad as the sample application

. had several windows open at once

. spell check picked up the highlighted phrase, ran word spell check, remaximized notepad, but the notepad window wasn't focused at the end of the operation

I found by adding one line to the script, this problem was solved.

; restore window
   WinSetState($WINTITLE,'',@SW_RESTORE)
*  winactivate($WINTITLE)
  ; strip spaces and add original number of leading/trailing spaves

Insert the '*' line into line 40.

Link to comment
Share on other sites

  • Developers

Haven't used that for a while since i mostly use IESpell these days, but will update it with your suggestion.....

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

I use tinySpell. Covers all programs.

<{POST_SNAPBACK}>

I've just had a look at tinySpell on your recommendation. A program that can spell check any windows program sounds appealing.

However, I'm think it would get in the way of situations where you don't want spell checking, like coding, since variable names and language commands aren't necessarily supposed to be English words in the first place.

Is it easy to turn on/off on the fly?

Link to comment
Share on other sites

  • Developers

Is it easy to turn on/off on the fly?

<{POST_SNAPBACK}>

Right mouse click/settings set default toggle on/off to : Ctrl + `

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Right mouse click/settings set default toggle on/off to : Ctrl + `

<{POST_SNAPBACK}>

Thanks

* tinySpell is US English only

* IESpell supports US/UK/CAN

I also found another one today, AutoTypist, that supports UK English only. Don't know how good it is.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...