If you can use Microsoft Word dictionary to check the text?
- Author
- Message
-
Offline
- Posts: 282
- Joined: Thu Sep 10, 2015 9:53 am
- Location: Deutschland
If you can use Microsoft Word dictionary to check the text?
W Scripts-Eng znalazłem takie coś:
SpellCheck.js-spell check using Microsoft Word.
Czy to znaczy, że można wykorzystać słownik Word'a zamiast SpellCheck?
SpellCheck.js-spell check using Microsoft Word.
Czy to znaczy, że można wykorzystać słownik Word'a zamiast SpellCheck?
-
Offline
- Posts: 1161
- Joined: Sun Oct 20, 2013 11:44 am
sexy96
I tried used AkelPad x64 and Word x32: works fine.
SpellCheck.js uses COM-object "Word.application", if creat object is not possible then script show error message "You must first install Microsoft Word 97 or higher". Have you seen him?
Try this: find cmd.exe, run him as administrator and find MS Office folder ("Office12" for Word 2007, "Office14" for 2010), and now:
Reboot OS and try call SpellCheck.js again.
word.application+x64
I tried used AkelPad x64 and Word x32: works fine.
SpellCheck.js uses COM-object "Word.application", if creat object is not possible then script show error message "You must first install Microsoft Word 97 or higher". Have you seen him?
Try this: find cmd.exe, run him as administrator and find MS Office folder ("Office12" for Word 2007, "Office14" for 2010), and now:
Code: Select all
cd C:\Program Files (x86)\Microsoft Office\OfficeNN
WINWORD.EXE -regserver
word.application+x64
-
Offline
- Posts: 282
- Joined: Thu Sep 10, 2015 9:53 am
- Location: Deutschland
-
Offline
- Posts: 1161
- Joined: Sun Oct 20, 2013 11:44 am
You can make copy SpellCheck.js to SpellCheck2.js, replace stringsexy96 wrote:PS:
When I run the Spell Check.js
I have info: "No text selected".
Can you run it without a selection of text
so how does Word?
Code: Select all
var pSelText=AkelPad.GetSelText();
Code: Select all
var pSelText=AkelPad.GetTextRange(0, -1);
-
Offline
- Posts: 282
- Joined: Thu Sep 10, 2015 9:53 am
- Location: Deutschland
It works great, thank you very much.
PS.
"Spell" +Call("SpellCheck::Background") Icon("%a\AkelFiles\Plugs\SpellCheck.dll", 0)
It does not work in x64
You can not open
"D:\WinCMD\AkelPad64\AkelFiles\Plugs\SpellCheck.dll"
SpellCheck.js do not move the text to the top
and I do not see the check word in the text.
PS.
"Spell" +Call("SpellCheck::Background") Icon("%a\AkelFiles\Plugs\SpellCheck.dll", 0)
It does not work in x64
You can not open
"D:\WinCMD\AkelPad64\AkelFiles\Plugs\SpellCheck.dll"
SpellCheck.js do not move the text to the top
and I do not see the check word in the text.
-
Offline
- Posts: 2247
- Joined: Tue Aug 07, 2007 2:03 pm
- Location: Vinnitsa, Ukraine
sexy96
It is by design. Unfortunately core spell checking component not supported in Windows anymore(let alone Windows x64), and I have no resources even to try test it. For 32 bit windows used pretty old version(works good nevertheless)PS.
"Spell" +Call("SpellCheck::Background") Icon("%a\AkelFiles\Plugs\SpellCheck.dll", 0)
It does not work in x64
You can not open
"D:\WinCMD\AkelPad64\AkelFiles\Plugs\SpellCheck.dll"
-
Offline
- Posts: 282
- Joined: Thu Sep 10, 2015 9:53 am
- Location: Deutschland
How to make the correction window not hide under the text,
Always before the text (FormOnTop)?
Przy sprawdzaniu tekstu kursor atomatycznie ustawia się na końcu tekstu
i uruchamia się okienko, w którym dokonuję korekcji.
Gdy na chwilę opuszczę AkelPad z otwartym tym okienkiem (np. w tym czasie uruchomię Chrome)
to wracając do edytora okienko to jest przykryte tekstem.
Próba przywrócenia tego na pierwszy plan powoduje zmianą położenia kursora
i dalsze sprawdzanie nie ma sensu, ponieważ po zakończeniu,
cała korekta zostanie zapisana w przypadkowym miejscu.
Always before the text (FormOnTop)?
Przy sprawdzaniu tekstu kursor atomatycznie ustawia się na końcu tekstu
i uruchamia się okienko, w którym dokonuję korekcji.
Gdy na chwilę opuszczę AkelPad z otwartym tym okienkiem (np. w tym czasie uruchomię Chrome)
to wracając do edytora okienko to jest przykryte tekstem.
Próba przywrócenia tego na pierwszy plan powoduje zmianą położenia kursora
i dalsze sprawdzanie nie ma sensu, ponieważ po zakończeniu,
cała korekta zostanie zapisana w przypadkowym miejscu.